X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=planets.c;h=a9ec295fc76ad3c5affe5975c09632b9a8a6e436;hb=32451d917434ca14d53a068f2ac57b504c794d07;hp=aa2982554fb3a445605404c272bfe356b812540e;hpb=7d27c8befdb5de9a50ff4af88e764c8336bc1797;p=super-star-trek.git diff --git a/planets.c b/planets.c index aa29825..a9ec295 100644 --- a/planets.c +++ b/planets.c @@ -56,11 +56,8 @@ void preport(void) { } void orbit(void) { - double asave; - skip(1); chew(); - ididit=0; if (inorbit!=0) { prout("Already in standard orbit."); return; @@ -79,7 +76,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; } @@ -116,7 +113,7 @@ void beam(void) { prout("Transporter damaged."); if (game.damage[DSHUTTL]==0 && (game.state.plnets[iplnet].known==shuttle_down || iscraft == 1)) { skip(1); - prout("Spock- \"May I suggest the shuttle craft, Sir?\" "); + proutn("Spock- \"May I suggest the shuttle craft, Sir?\" "); if (ja() != 0) shuttle(); } return; @@ -322,7 +319,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 +409,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);