X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=planets.c;h=8551c8e9534847a94402c77a053ff68691e1867e;hb=a7bad7c3991a4e128c1413f785960d84e1ff87b5;hp=aa2982554fb3a445605404c272bfe356b812540e;hpb=7d27c8befdb5de9a50ff4af88e764c8336bc1797;p=super-star-trek.git diff --git a/planets.c b/planets.c index aa29825..8551c8e 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; } @@ -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);