mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
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:
parent
a2f8b84b5a
commit
058ed632de
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue