Apply BMBOUNDFIX to A_MineExplode

This commit is contained in:
James R 2019-10-15 23:29:02 -07:00
parent eb8cb12b8f
commit fdb54d8e80
1 changed files with 2 additions and 0 deletions

View File

@ -4053,6 +4053,8 @@ void A_MineExplode(mobj_t *actor)
xh = (unsigned)(actor->x + explodedist - bmaporgx)>>MAPBLOCKSHIFT;
xl = (unsigned)(actor->x - explodedist - bmaporgx)>>MAPBLOCKSHIFT;
BMBOUNDFIX (xl, xh, yl, yh);
grenade = actor;
for (by = yl; by <= yh; by++)