mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- missed some changed constants...
SVN r4129 (trunk)
This commit is contained in:
parent
954e9e03f2
commit
3defad92da
1 changed files with 2 additions and 2 deletions
|
@ -380,13 +380,13 @@ manual_floor:
|
||||||
case DFloor::floorRaiseToLowestCeiling:
|
case DFloor::floorRaiseToLowestCeiling:
|
||||||
floor->m_Direction = 1;
|
floor->m_Direction = 1;
|
||||||
newheight = sec->FindLowestCeilingSurrounding (&spot);
|
newheight = sec->FindLowestCeilingSurrounding (&spot);
|
||||||
if (floortype == DFloor::floorRaiseAndCrush)
|
if (floortype == DFloor::floorRaiseAndCrushDoom)
|
||||||
newheight -= 8 * FRACUNIT;
|
newheight -= 8 * FRACUNIT;
|
||||||
ceilingheight = sec->FindLowestCeilingPoint (&spot2);
|
ceilingheight = sec->FindLowestCeilingPoint (&spot2);
|
||||||
floor->m_FloorDestDist = sec->floorplane.PointToDist (spot, newheight);
|
floor->m_FloorDestDist = sec->floorplane.PointToDist (spot, newheight);
|
||||||
if (sec->floorplane.ZatPointDist (spot2, floor->m_FloorDestDist) > ceilingheight)
|
if (sec->floorplane.ZatPointDist (spot2, floor->m_FloorDestDist) > ceilingheight)
|
||||||
floor->m_FloorDestDist = sec->floorplane.PointToDist (spot2,
|
floor->m_FloorDestDist = sec->floorplane.PointToDist (spot2,
|
||||||
floortype == DFloor::floorRaiseAndCrush ? ceilingheight - 8*FRACUNIT : ceilingheight);
|
floortype == DFloor::floorRaiseAndCrushDoom ? ceilingheight - 8*FRACUNIT : ceilingheight);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DFloor::floorRaiseToHighest:
|
case DFloor::floorRaiseToHighest:
|
||||||
|
|
Loading…
Reference in a new issue