X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fplanets.c;h=8aba37c3f07288916d68f16720169a55c591169f;hp=5f31e5de8dcb809b865d47bf1d19fa7c8b4d6338;hb=2c5438d3c22fe863ad8054d214f2afdd061ad43a;hpb=321425c10831f63599c41c31e9d42bc4ec8001d0 diff --git a/src/planets.c b/src/planets.c index 5f31e5d..8aba37c 100644 --- a/src/planets.c +++ b/src/planets.c @@ -22,10 +22,11 @@ void survey(void) prout(_("Spock- \"Planet report follows, Captain.\"")); skip(1); for (i = 0; i < game.inplan; i++) { + if (game.state.planets[i].pclass == destroyed) + continue; if ((game.state.planets[i].known != unknown - && game.state.planets[i].inhabited == UNINHABITED) - || (idebug && game.state.planets[i].w.x !=0) - ) { + && game.state.planets[i].inhabited == UNINHABITED) + || idebug) { iknow = true; if (idebug && game.state.planets[i].known==unknown) proutn("(Unknown) ");