From 12ea8ffbe40b14208e7f1cb75e9ac5cd16d69618 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 28 Sep 2016 08:06:15 +0200 Subject: [PATCH] - removed some leftover garbage from the floating point rewrite in the floorRaiseToLowestCeiling case of DFloor. --- src/p_floor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_floor.cpp b/src/p_floor.cpp index 8d09ea2d5..62479e340 100644 --- a/src/p_floor.cpp +++ b/src/p_floor.cpp @@ -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: