mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +00:00
- fixed return value inversion of FS's ceilingheight and floorheight functions.
This commit is contained in:
parent
96272fc8b8
commit
8e3263a433
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