- use PlanesAtPointf in most places where PlanesAtPoint was used.

This commit is contained in:
Christoph Oelckers 2022-01-27 19:07:06 +01:00
parent 02d508baef
commit bd95da423a
5 changed files with 15 additions and 15 deletions

View file

@ -162,8 +162,8 @@ void vertex_t::RecalcVertexHeights()
{
float heights[2];
auto point = wall[masterwall].wall_int_pos();
PlanesAtPoint(&sector[sect], point.X, point.Y, &heights[0], &heights[1]);
auto point = wall[masterwall].pos;
PlanesAtPointf(&sector[sect], point.X, point.Y, &heights[0], &heights[1]);
for(auto height : heights)
{
int k;