mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-03 09:51:15 +00:00
Merge branch 'fix-3d-activated-z-position' into 'master'
Fix Z calculation for FOF activators Closes #728 See merge request KartKrew/Kart!1718
This commit is contained in:
commit
07da4839ee
1 changed files with 2 additions and 2 deletions
|
|
@ -5710,8 +5710,8 @@ static void P_CheckMobj3DFloorAction(mobj_t *mo, sector_t *sec, boolean continuo
|
|||
continue;
|
||||
}
|
||||
|
||||
top = P_GetSpecialTopZ(mo, roversec, roversec);
|
||||
bottom = P_GetSpecialBottomZ(mo, roversec, roversec);
|
||||
top = P_GetSpecialTopZ(mo, roversec, sec);
|
||||
bottom = P_GetSpecialBottomZ(mo, roversec, sec);
|
||||
mid = bottom + ((top - bottom) / 2);
|
||||
|
||||
if (mo->z > top || mo->z + mo->height < bottom)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue