Merge branch 'fix-MF_NOCLIPTHING' into 'next'

Fix MF_NOCLIPTHING

See merge request STJr/SRB2!467
This commit is contained in:
James R 2019-10-07 21:14:49 -04:00
commit b32a0315eb

View file

@ -456,7 +456,7 @@ static boolean PIT_CheckThing(mobj_t *thing)
return true;
}
if (!(thing->flags & (MF_SOLID|MF_SPECIAL|MF_PAIN|MF_SHOOTABLE)))
if (!(thing->flags & (MF_SOLID|MF_SPECIAL|MF_PAIN|MF_SHOOTABLE)) || (thing->flags & MF_NOCLIPTHING))
return true;
// Don't collide with your buddies while NiGHTS-flying.