- removed some leftover garbage from the floating point rewrite in the floorRaiseToLowestCeiling case of DFloor.

This commit is contained in:
Christoph Oelckers 2016-09-28 08:06:15 +02:00
parent e3be6e4819
commit 12ea8ffbe4
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ bool P_CreateFloor(sector_t *sec, DFloor::EFloor floortype, line_t *line,
ceilingheight = sec->FindLowestCeilingPoint(&spot2);
floor->m_FloorDestDist = sec->floorplane.PointToDist(spot, newheight);
if (sec->floorplane.ZatPointDist(spot2, floor->m_FloorDestDist) > ceilingheight)
floor->m_FloorDestDist = sec->floorplane.PointToDist(spot2, floortype == ceilingheight - height);
floor->m_FloorDestDist = sec->floorplane.PointToDist(spot2, ceilingheight - height);
break;
case DFloor::floorRaiseToHighest: