X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=planets.c;h=eed32104fea1cccc1cdbe509124fdc1e3a809730;hb=93ede5b2bb8928b8aa17e750f48e6c5e59b81ab1;hp=aa2982554fb3a445605404c272bfe356b812540e;hpb=7d27c8befdb5de9a50ff4af88e764c8336bc1797;p=super-star-trek.git diff --git a/planets.c b/planets.c index aa29825..eed3210 100644 --- a/planets.c +++ b/planets.c @@ -56,8 +56,6 @@ void preport(void) { } void orbit(void) { - double asave; - skip(1); chew(); ididit=0; @@ -79,7 +77,7 @@ void orbit(void) { newcnd(); if (consumeTime()) return; height = (1400.+7200.*Rand()); - prout("Sulu- \"Entered orbit at altitude %4.2f kilometers.\"", height); + prout("Sulu- \"Entered orbit at altitude %.2f kilometers.\"", height); inorbit = 1; return; } @@ -322,7 +320,7 @@ void shuttle(void) { proutn(" a maneuver would require approximately 2d%% of our", (int)(100*Time/game.state.remtime)); prout("remaining time."); - prout("Are you sure this is wise?\" "); + proutn("Are you sure this is wise?\" "); if (ja()==0) { Time = 0.0; return; @@ -412,7 +410,7 @@ void deathray(void) { } prout("Spock- \"Captain, the 'Experimental Death Ray'"); prout(" is highly unpredictible. Considering the alternatives,"); - prout(" are you sure this is wise?\" "); + proutn(" are you sure this is wise?\" "); if (ja()==0) return; prout("Spock- \"Acknowledged.\""); skip(1);