mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-17 18:21:10 +00:00
Also check for FF_SOLID
This commit is contained in:
parent
cc11459054
commit
b629104197
1 changed files with 1 additions and 1 deletions
|
@ -2765,7 +2765,7 @@ static boolean P_ThingHeightClip(mobj_t *thing)
|
|||
|
||||
// Match the Thing's old floorz to an FOF and check for FF_EXISTS
|
||||
// If ~FF_EXISTS, don't set mobj Z.
|
||||
if (!rover || (rover->flags & FF_EXISTS))
|
||||
if (!rover || ((rover->flags & FF_EXISTS) && (rover->flags & FF_SOLID)))
|
||||
{
|
||||
if (thing->eflags & MFE_VERTICALFLIP)
|
||||
thing->pmomz = thing->ceilingz - (thing->z + thing->height);
|
||||
|
|
Loading…
Reference in a new issue