mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +00:00
- fixed return value inversion of FS's ceilingheight and floorheight functions.
This commit is contained in:
parent
a3450ab824
commit
f8ae166281
1 changed files with 2 additions and 2 deletions
|
@ -1573,7 +1573,7 @@ void FParser::SF_FloorHeight(void)
|
|||
sectors[i].floorplane.PointToDist (sectors[i].centerspot, dest),
|
||||
crush? 10:-1,
|
||||
(dest > sectors[i].CenterFloor()) ? 1 : -1,
|
||||
false) != EMoveResult::crushed)
|
||||
false) == EMoveResult::crushed)
|
||||
{
|
||||
returnval = 0;
|
||||
}
|
||||
|
@ -1662,7 +1662,7 @@ void FParser::SF_CeilingHeight(void)
|
|||
sectors[i].ceilingplane.PointToDist (sectors[i].centerspot, dest),
|
||||
crush? 10:-1,
|
||||
(dest > sectors[i].CenterCeiling()) ? 1 : -1,
|
||||
false) != EMoveResult::crushed)
|
||||
false) == EMoveResult::crushed)
|
||||
{
|
||||
returnval = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue