mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 10:02:01 +00:00
fix water fof height calculation on slopes
# Conflicts: # src/p_mobj.c
This commit is contained in:
parent
6cfe9ad4b3
commit
134f3b5df5
1 changed files with 2 additions and 2 deletions
|
|
@ -3039,8 +3039,8 @@ void P_MobjCheckWater(mobj_t *mobj)
|
|||
{
|
||||
fixed_t topheight, bottomheight;
|
||||
|
||||
topheight = P_GetFFloorTopZAt (rover, mobj->x, mobj->y);
|
||||
bottomheight = P_GetFFloorBottomZAt(rover, mobj->x, mobj->y);
|
||||
topheight = P_GetSpecialTopZ(mobj, sectors + rover->secnum, sector);
|
||||
bottomheight = P_GetSpecialBottomZ(mobj, sectors + rover->secnum, sector);
|
||||
|
||||
if (!(rover->flags & FF_EXISTS) || !(rover->flags & FF_SWIMMABLE)
|
||||
|| (((rover->flags & FF_BLOCKPLAYER) && mobj->player)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue