mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +00:00
- fixed: The return value of sector_t::FindHighestFloorPoint lost its '-' sign during the floating point conversion.
This commit is contained in:
parent
1d83ea6177
commit
f606ba315f
1 changed files with 1 additions and 1 deletions
|
@ -624,7 +624,7 @@ double sector_t::FindHighestFloorPoint (vertex_t **v) const
|
||||||
if (linecount == 0) *v = &vertexes[0];
|
if (linecount == 0) *v = &vertexes[0];
|
||||||
else *v = lines[0]->v1;
|
else *v = lines[0]->v1;
|
||||||
}
|
}
|
||||||
return floorplane.fD();
|
return -floorplane.fD();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < linecount; i++)
|
for (i = 0; i < linecount; i++)
|
||||||
|
|
Loading…
Reference in a new issue