From 6070d14fa5772398a8977be1f8346f60b5c0d0c4 Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 4 Jan 2021 17:40:06 -0800 Subject: [PATCH] Line special 11: block monsters for this line --- src/p_map.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_map.c b/src/p_map.c index b60d243e2..d6a3044cb 100644 --- a/src/p_map.c +++ b/src/p_map.c @@ -1635,7 +1635,8 @@ static boolean P_IsLineBlocking(const line_t *ld, const mobj_t *thing) ( (ld->flags & ML_IMPASSABLE) || // block objects from moving through this linedef. (thing->player && !thing->player->spectator && - ld->flags & ML_BLOCKPLAYERS) // SRB2Kart: Only block players, not items + ld->flags & ML_BLOCKPLAYERS) || // SRB2Kart: Only block players, not items + ((thing->flags & (MF_ENEMY|MF_BOSS)) && ld->special == 11) // case 11: block monsters only ); } }