mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
fix water fof height calculation on slopes
This commit is contained in:
parent
db92f31f7d
commit
da33cb674e
1 changed files with 2 additions and 2 deletions
|
@ -3236,8 +3236,8 @@ void P_MobjCheckWater(mobj_t *mobj)
|
|||
|| ((rover->flags & FF_BLOCKOTHERS) && !mobj->player)))
|
||||
continue;
|
||||
|
||||
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 (mobj->eflags & MFE_VERTICALFLIP)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue