Get rid of DESTROY macro.
[super-star-trek.git] / src / ai.c
index 7f0112d5f957912ad9820a1bdb1e71d2a2838d1a..31d19ad13bdcf06293ab473679a9abfc09a817a5 100644 (file)
--- a/src/ai.c
+++ b/src/ai.c
@@ -360,7 +360,7 @@ static bool movescom(coord iq, bool avoid)
        if (same(game.state.planets[i].w, game.state.kscmdr) &&
            game.state.planets[i].crystals == present) {
            /* destroy the planet */
-           DESTROY(&game.state.planets[i]);
+           game.state.planets[i].pclass = destroyed;
            game.state.galaxy[game.state.kscmdr.x][game.state.kscmdr.y].planet = NOPLANET;
            if (!damaged(DRADIO) || game.condition == docked) {
                pause_game(true);