iquad=game.quad[ix][iy];
tracktorpedo(x, y, ix, iy, wait, l, i, n, iquad);
wait = 1;
if (iquad==IHDOT) continue;
/* hit something */
setwnd(message_window);
iquad=game.quad[ix][iy];
tracktorpedo(x, y, ix, iy, wait, l, i, n, iquad);
wait = 1;
if (iquad==IHDOT) continue;
/* hit something */
setwnd(message_window);
r += 0.002*game.kpower[l]*r;
torpedo(course, r, jx, jy, &hit, 0, 1, 1);
if (game.state.remkl==0) finish(FWON); /* Klingons did themselves in! */
r += 0.002*game.kpower[l]*r;
torpedo(course, r, jx, jy, &hit, 0, 1, 1);
if (game.state.remkl==0) finish(FWON); /* Klingons did themselves in! */
static int targetcheck(double x, double y, double *course) {
double deltx, delty;
/* Return TRUE if target is invalid */
static int targetcheck(double x, double y, double *course) {
double deltx, delty;
/* Return TRUE if target is invalid */