mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-28 04:00:41 +00:00
Apply BMBOUNDFIX to A_MineExplode
This commit is contained in:
parent
eb8cb12b8f
commit
fdb54d8e80
1 changed files with 2 additions and 0 deletions
|
@ -4053,6 +4053,8 @@ void A_MineExplode(mobj_t *actor)
|
||||||
xh = (unsigned)(actor->x + explodedist - bmaporgx)>>MAPBLOCKSHIFT;
|
xh = (unsigned)(actor->x + explodedist - bmaporgx)>>MAPBLOCKSHIFT;
|
||||||
xl = (unsigned)(actor->x - explodedist - bmaporgx)>>MAPBLOCKSHIFT;
|
xl = (unsigned)(actor->x - explodedist - bmaporgx)>>MAPBLOCKSHIFT;
|
||||||
|
|
||||||
|
BMBOUNDFIX (xl, xh, yl, yh);
|
||||||
|
|
||||||
grenade = actor;
|
grenade = actor;
|
||||||
|
|
||||||
for (by = yl; by <= yh; by++)
|
for (by = yl; by <= yh; by++)
|
||||||
|
|
Loading…
Reference in a new issue