add mobj islocal field
so we can skip the pushable trigger stuff for local mobjs for synch reasons very sketchy
This commit is contained in:
1 parent
ceb2a70664
commit
95504547df
1 file changed
+1
-1
+1
-1
@@ -8998,7 +8998,7 @@ void P_MobjThinker(mobj_t *mobj)
|
||||
const sector_t *sec1 = mobj->subsector ? mobj->subsector->sector : NULL;
|
||||
|
||||
// 970 allows ANY mobj to trigger a linedef exec
|
||||
if (UNLIKELY(sec1 && GETSECSPECIAL(sec1->special, 2) == 8))
|
||||
if (UNLIKELY(!mobj->islocal && sec1 && GETSECSPECIAL(sec1->special, 2) == 8)) // BEWARE: islocal does not exist in vanilla
|
||||
{
|
||||
sector_t *sec2;
|
||||
sec2 = P_ThingOnSpecial3DFloor(mobj);
|
||||
|
||||
Reference in new issue
Block a user