X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=planets.c;h=9e847ebe0e92c0b1601bd6e6d6af6b6c2f2c2160;hp=68bb27ca2ee912e7951f6a0548a7426bf81df7e4;hb=0494866db0a61c4111d1fb15836cea9b8c1a9d97;hpb=c3361c20d23ed8813c868186aca75f9fe547a898 diff --git a/planets.c b/planets.c index 68bb27c..9e847eb 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();