From fdb54d8e8014afb4e6e22e88e326aba862a9cacb Mon Sep 17 00:00:00 2001 From: James R Date: Tue, 15 Oct 2019 23:29:02 -0700 Subject: [PATCH] Apply BMBOUNDFIX to A_MineExplode --- src/p_enemy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/p_enemy.c b/src/p_enemy.c index 1795a304..92aebfbc 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -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++)