mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-03 07:22:10 +00:00
Also check for FF_SOLID
This commit is contained in:
parent
f7731d7a41
commit
9c1fc17233
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
|
// Match the Thing's old floorz to an FOF and check for FF_EXISTS
|
||||||
// If ~FF_EXISTS, don't set mobj Z.
|
// 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)
|
if (thing->eflags & MFE_VERTICALFLIP)
|
||||||
thing->pmomz = thing->ceilingz - (thing->z + thing->height);
|
thing->pmomz = thing->ceilingz - (thing->z + thing->height);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue