X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fevents.c;h=b4b61214b14cecd18efcb09c2c836c9b7c9aa153;hp=aeefdb49c8fdddbcc4d4b76d39e5d2c67567c9a8;hb=2c5438d3c22fe863ad8054d214f2afdd061ad43a;hpb=321425c10831f63599c41c31e9d42bc4ec8001d0 diff --git a/src/events.c b/src/events.c index aeefdb4..b4b6121 100644 --- a/src/events.c +++ b/src/events.c @@ -689,7 +689,7 @@ void nova(coord nov) game.state.nplankl++; crmena(true, IHP, sector, scratch); prout(_(" destroyed.")); - DESTROY(&game.state.planets[game.iplnet]); + game.state.planets[game.iplnet].pclass = destroyed; game.iplnet = 0; invalidate(game.plnet); if (game.landed) { @@ -919,7 +919,7 @@ void supernova(bool induced, coord *w) int loop; for (loop = 0; loop < game.inplan; loop++) if (same(game.state.planets[loop].w, nq)) { - DESTROY(&game.state.planets[loop]); + game.state.planets[loop].pclass = destroyed; } } /* Destroy any base in supernovaed quadrant */