Fixed solid objects (such as Minus-carried TNT barrels) not colliding with players.

Springs and gas jets are exempt because all hell might break loose otherwise.
This commit is contained in:
MascaraSnake 2019-10-06 19:53:54 +02:00
parent a2f8b84b5a
commit 058ed632de
1 changed files with 2 additions and 2 deletions

View File

@ -1561,8 +1561,8 @@ static boolean PIT_CheckThing(mobj_t *thing)
}
}
if ((!tmthing->player) && (thing->player))
; // no solid thing should ever be able to step up onto a player
if ((thing->flags & MF_SPRING || thing->type == MT_STEAM) && (thing->player))
; // springs and gas jets should never be able to step up onto a player
// z checking at last
// Treat noclip things as non-solid!
else if ((thing->flags & (MF_SOLID|MF_NOCLIP)) == MF_SOLID