X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=ai.c;h=ad550a14cdecba56c208324c855cc03c2d5b88ad;hb=5fd1629b862b1a1bba3f70d4d06ba0b0859ec0e6;hp=719c50c4bb51c62e659f9521aa71fb44ca67c937;hpb=ba71f219a8543b5510a53c59ce793339b84903a7;p=super-star-trek.git diff --git a/ai.c b/ai.c index 719c50c..ad550a1 100644 --- a/ai.c +++ b/ai.c @@ -25,7 +25,7 @@ static int tryexit(int lookx, int looky, int ienm, int loccom, int irun) { if (game.damage[DSRSENS] == 0.0 || game.damage[DLRSENS] == 0.0 || condit == IHDOCKED) { crmena(1, ienm, 2, game.kx[loccom], game.ky[loccom]); - proutn(" escapes to %s (and regains strength).", + prout(" escapes to %s (and regains strength).", cramlc(quadrant, iqx, iqy)); } /* handle local matters related to escape */ @@ -252,9 +252,8 @@ static void movebaddy(int comx, int comy, int loccom, int ienm) { if (game.damage[DSRSENS] == 0 || condit == IHDOCKED) { proutn("***"); cramen(ienm); - proutn(" from"); - cramlc(2, comx, comy); - if (game.kdist[loccom] < dist1) proutn(" advances to"); + proutn(" from %s", cramlc(2, comx, comy)); + if (game.kdist[loccom] < dist1) proutn(" advances to "); else proutn(" retreats to "); prout(cramlc(sector, nextx, nexty)); }