X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fplanets.c;h=f91a7d6e84516abc4802af642b4f8dadde0921c2;hp=8aba37c3f07288916d68f16720169a55c591169f;hb=e4ddd3649bf73ddd7a1e2bb32e7ce2e631293068;hpb=b40eba51deeb13f362e95416c005156be4104067 diff --git a/src/planets.c b/src/planets.c index 8aba37c..f91a7d6 100644 --- a/src/planets.c +++ b/src/planets.c @@ -450,7 +450,7 @@ void deathray(void) while (game.nenhere > 0) deadkl(game.ks[1], game.quad[game.ks[1].x][game.ks[1].y],game.ks[1]); prout(_("Ensign Chekov- \"Congratulations, Captain!\"")); - if (KLINGREM == 0) + if ((game.state.remkl + game.state.remcom + game.state.nscrem) == 0) finish(FWON); if ((game.options & OPTION_PLAIN) == 0) { prout(_("Spock- \"Captain, I believe the `Experimental Death Ray'"));