- fixed: The return value of sector_t::FindHighestFloorPoint lost its '-' sign during the floating point conversion.

This commit is contained in:
Christoph Oelckers 2016-04-05 10:55:13 +02:00
parent 1d83ea6177
commit f606ba315f
1 changed files with 1 additions and 1 deletions

View File

@ -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++)