- warnings fix

This commit is contained in:
Christoph Oelckers 2021-11-07 11:22:42 +01:00
parent f51cbf31ba
commit 066896db8e
2 changed files with 2 additions and 2 deletions

View file

@ -393,7 +393,7 @@ void hitradius_d(DDukeActor* actor, int r, int hp1, int hp2, int hp3, int h
if (sect >= 0 && cansee(x1, y1, spri->z, sect, spri->x, spri->y, spri->z, spri->sectnum))
fi.checkhitwall(actor, x, wal->x, wal->y, spri->z, spri->picnum);
}
} while (sectcnt < sectend && sectcnt < countof(tempsect));
} while (sectcnt < sectend && sectcnt < (int)countof(tempsect));
}
SKIPWALLCHECK:

View file

@ -273,7 +273,7 @@ void hitradius_r(DDukeActor* actor, int r, int hp1, int hp2, int hp3, int h
if (sect >= 0 && cansee(x1, y1, spri->z, sect, spri->x, spri->y, spri->z, spri->sectnum))
fi.checkhitwall(actor, x, wal->x, wal->y, spri->z, spri->picnum);
}
} while (sectcnt < sectend && sectcnt < countof(tempsect));
} while (sectcnt < sectend && sectcnt < (int)countof(tempsect));
SKIPWALLCHECK: