Merge branch 'spb-blockmap-fix' of git.magicalgirl.moe:KartKrew/Kart-Public into awful-mix

This commit is contained in:
Latapostrophe 2020-03-13 22:38:20 +01:00
commit 4f24f1ae5b

View file

@ -4066,6 +4066,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++)