X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fio.c;h=ecbe87aff9ddb1d373d471a0925f867d41e4dd4a;hp=dc4ce744fee5cf1350af13c2c991a2096ba46441;hb=2cae1cd3feb922843b40af851f43f9e08bb18f0d;hpb=4c3ff8ac78499d53339de7d67081e99582a9fb75 diff --git a/src/io.c b/src/io.c index dc4ce74..ecbe87a 100644 --- a/src/io.c +++ b/src/io.c @@ -398,7 +398,7 @@ void tracktorpedo(int ix, int iy, int l, int i, int n, int iquad) skip(1); proutn("%d - %d ", ix, iy); } else { - if (game.damage[DSRSENS]==0 || game.condit==IHDOCKED) { + if (!damaged(DSRSENS) || game.condit==IHDOCKED) { if (i != 1 && l == 1) { drawmaps(2); delay(400);