Updates for the build machinery.
[super-star-trek.git] / battle.c
index 985774be115cd8393484be9fe640f83ebbfe86e0..bd8070ad082d2239cabe4065e204d6597dc02a7d 100644 (file)
--- a/battle.c
+++ b/battle.c
@@ -202,7 +202,7 @@ void torpedo(double course, double r, int inx, int iny, double *hit, int i, int
        iy = y + 0.5;
        if (!VALID_SECTOR(ix, iy)) break;
        iquad=game.quad[ix][iy];
-       tracktorpedo(ix, iy, l, i, n);
+       tracktorpedo(ix, iy, l, i, n, iquad);
        if (iquad==IHDOT) continue;
        /* hit something */
        setwnd(message_window);