X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=ai.c;h=37f266c8150d360012fb2232297c0d0f90b29b96;hp=d2223cab385e9ab9892bffb269b8da889aeceb53;hb=942f187b68be75931f4bd35015d74d284ef802c4;hpb=77e371705e1e059173ec9c88f63be7a460e44e50 diff --git a/ai.c b/ai.c index d2223ca..37f266c 100644 --- a/ai.c +++ b/ai.c @@ -173,9 +173,7 @@ static void movebaddy(int comx, int comy, int loccom, int ienm) { if (nsteps < 1) nsteps = 1; /* This shouldn't be necessary */ #ifdef DEBUG if (idebug) { - proutn("NSTEPS = "); - crami(nsteps, 1); - skip(1); + prout("NSTEPS = %d", nsteps); } #endif /* Compute preferred values of delta X and Y */ @@ -192,8 +190,7 @@ static void movebaddy(int comx, int comy, int loccom, int ienm) { for (ll = 1; ll <= nsteps; ll++) { #ifdef DEBUG if (idebug) { - crami(ll,2); - skip(1); + prout("%d", ll); } #endif /* Check if preferred position available */