X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=planets.c;h=7dd95415b29cfb945fcd2f8bdff13791e5816e30;hp=68bb27ca2ee912e7951f6a0548a7426bf81df7e4;hb=c5b4cba0782b02223a1064273a782b845ce089aa;hpb=7de1f930478a9efcc3f093eb62414ec18d396f7b diff --git a/planets.c b/planets.c index 68bb27c..7dd9541 100644 --- a/planets.c +++ b/planets.c @@ -69,7 +69,8 @@ void orbit(void) } if (plnetx == 0 || abs(sectx-plnetx) > 1 || abs(secty-plnety) > 1) { crmshp(); - prout(" not adjacent to planet.\n"); + prout(" not adjacent to planet."); + skip(1); return; } Time = 0.02+0.03*Rand(); @@ -435,7 +436,7 @@ void deathray(void) while (nenhere > 0) deadkl(game.kx[1],game.ky[1],game.quad[game.kx[1]][game.ky[1]],game.kx[1],game.ky[1]); prout("Ensign Chekov- \"Congratulations, Captain!\""); - if (game.state.remkl == 0) finish(FWON); + if (KLINGREM == 0) finish(FWON); prout("Spock- \"Captain, I believe the `Experimental Death Ray'"); if (Rand() <= 0.05) { prout(" is still operational.\"");