mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- Fixed: Floor_RaiseAndCrush did not subtract 8 from the lowest ceiling's height when determining
a destination height. (It did subtract 8, but in the wrong place.) SVN r2490 (trunk)
This commit is contained in:
parent
9a025fbb23
commit
b59162a33a
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ manual_floor:
|
|||
floor->m_Direction = 1;
|
||||
newheight = sec->FindLowestCeilingSurrounding (&spot);
|
||||
if (floortype == DFloor::floorRaiseAndCrush)
|
||||
floor->m_FloorDestDist -= 8 * FRACUNIT;
|
||||
newheight -= 8 * FRACUNIT;
|
||||
ceilingheight = sec->FindLowestCeilingPoint (&spot2);
|
||||
floor->m_FloorDestDist = sec->floorplane.PointToDist (spot, newheight);
|
||||
if (sec->floorplane.ZatPointDist (spot2, floor->m_FloorDestDist) > ceilingheight)
|
||||
|
|
Loading…
Reference in a new issue