X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=planets.c;h=9e847ebe0e92c0b1601bd6e6d6af6b6c2f2c2160;hp=5ea7479ec97ca992c662ba888b25533cb4c99ba2;hb=f1af4f83e663d93c704ce0ada75ea4aa9ae3c65b;hpb=8629b4a298e31f81ba0db0debb4796356c3966c7 diff --git a/planets.c b/planets.c index 5ea7479..9e847eb 100644 --- a/planets.c +++ b/planets.c @@ -17,7 +17,7 @@ static int consumeTime(void) } #endif // asave = future[FSNOVA]; -// future[FSNOVA] = 1e30; /* defer supernovas */ +// future[FSNOVA] = FOREVER; /* defer supernovas */ events(); /* Used to avoid if future[FSCMOVE] within time */ // future[FSNOVA] = asave; /*fails if game over, quadrant super-novas or we've moved to new quadrant*/ @@ -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();