X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=src%2Fbattle.c;h=dc3cede30542008697aaefaf8272072d781200d3;hb=b167d4be7ad2e751c5b90bffa75d8227840ff201;hp=f47cd94874800f9deea528219d798438acd38b44;hpb=0f68a074434296ae409accdc39ba0142600ea255;p=super-star-trek.git diff --git a/src/battle.c b/src/battle.c index f47cd94..dc3cede 100644 --- a/src/battle.c +++ b/src/battle.c @@ -407,8 +407,8 @@ void torpedo(double course, double r, coord in, double *hit, int i, int n) /* captain perishes on planet */ finish(FDPLANET); } - prout("You have just destroyed an inhabited planet."); - prout("Celebratory rallies are being held on the Klingon homeworld."); + prout(_("You have just destroyed an inhabited planet.")); + prout(_("Celebratory rallies are being held on the Klingon homeworld.")); return; case IHSTAR: /* Hit a star */ if (Rand() > 0.10) { @@ -544,7 +544,6 @@ void attack(bool torps_ok) coord jay; enum loctype where = neither; - game.iattak = 1; if (game.alldone) return; if (idebug) prout("=== ATTACK!"); @@ -1087,7 +1086,7 @@ void phasers(void) irec+=fabs(game.kpower[i])/(PHASEFAC*pow(0.90,game.kdist[i]))* (1.01+0.05*Rand()) + 1.0; kz=1; - proutn(_("(%d) units required. "), irec); + proutn(_("%d units required. "), irec); chew(); proutn(_("Units to fire= ")); key = scan();