Fix MF_NOCLIPTHING

This commit is contained in:
Steel Titanium 2019-03-03 20:08:11 -05:00
parent c9e8d34b9d
commit 34645238d4

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.