mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 07:57:58 +00:00
- Fixed one GCC/Clang warning.
This commit is contained in:
parent
28ac65b25b
commit
f36489098f
1 changed files with 1 additions and 1 deletions
|
@ -1054,7 +1054,7 @@ void P_CreateLinkedPortals()
|
||||||
if (cz < fz)
|
if (cz < fz)
|
||||||
{
|
{
|
||||||
// This is a fatal condition. We have to remove one of the two portals. Choose the one that doesn't match the current plane
|
// This is a fatal condition. We have to remove one of the two portals. Choose the one that doesn't match the current plane
|
||||||
Printf("Error in sector %d: Ceiling portal at z=%d is below floor portal at z=%d\n", i, cz, fz);
|
Printf("Error in sector %d: Ceiling portal at z=%f is below floor portal at z=%f\n", i, cz, fz);
|
||||||
double cp = -sectors[i].ceilingplane.fD();
|
double cp = -sectors[i].ceilingplane.fD();
|
||||||
double fp = -sectors[i].ceilingplane.fD();
|
double fp = -sectors[i].ceilingplane.fD();
|
||||||
if (cp < fp || fz == fp)
|
if (cp < fp || fz == fp)
|
||||||
|
|
Loading…
Reference in a new issue