From f606ba315f18c4c070395f5b42c1c41a85017ab0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 5 Apr 2016 10:55:13 +0200 Subject: [PATCH] - fixed: The return value of sector_t::FindHighestFloorPoint lost its '-' sign during the floating point conversion. --- src/p_sectors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_sectors.cpp b/src/p_sectors.cpp index 87c0c45bd..357b60872 100644 --- a/src/p_sectors.cpp +++ b/src/p_sectors.cpp @@ -624,7 +624,7 @@ double sector_t::FindHighestFloorPoint (vertex_t **v) const if (linecount == 0) *v = &vertexes[0]; else *v = lines[0]->v1; } - return floorplane.fD(); + return -floorplane.fD(); } for (i = 0; i < linecount; i++)