Small cleanups discovered during Python translation.
[super-star-trek.git] / src / ai.c
index 89b366d8be93921156104e3b4564dc32f02dab44..67e748eeeaa2590991fad3c183f37e06b93aa7c9 100644 (file)
--- a/src/ai.c
+++ b/src/ai.c
@@ -263,7 +263,7 @@ static void movebaddy(coord com, int loccom, feature ienm)
        if (!damaged(DSRSENS) || game.condition == docked) {
            proutn("***");
            cramen(ienm);
-           proutn(_(" from %s"), cramlc(2, com));
+           proutn(_(" from %s"), cramlc(sector, com));
            if (game.kdist[loccom] < dist1)
                proutn(_(" advances to "));
            else