From 982cd7bde2307e1745c7f0737e75fd5e10fd9abe Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 27 Jul 2025 18:14:27 +0200 Subject: [PATCH] add mobj islocal field so we can skip the pushable trigger stuff for local mobjs for synch reasons very sketchy --- src/p_mobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index 2c8c17339..3fc1db618 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -8985,7 +8985,7 @@ void P_MobjThinker(mobj_t *mobj) tmfloorthing = tmhitthing = NULL; // 970 allows ANY mobj to trigger a linedef exec - if (mobj->subsector && GETSECSPECIAL(mobj->subsector->sector->special, 2) == 8) + if (UNLIKELY(!mobj->islocal && sec1 && GETSECSPECIAL(sec1->special, 2) == 8)) // BEWARE: islocal does not exist in vanilla { sector_t *sec2;