mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
- fixed return value of hw_CheckViewArea.
This commit is contained in:
parent
bc8f47444f
commit
f4e139485a
1 changed files with 3 additions and 1 deletions
|
@ -173,8 +173,10 @@ area_t hw_CheckViewArea(area_t in_area, vertex_t *v1, vertex_t *v2, sector_t *fr
|
|||
// allow some tolerance in case slopes are involved
|
||||
if (cz1 <= fz1 + 1. / 100 && cz2 <= fz2 + 1. / 100)
|
||||
return area_below;
|
||||
else
|
||||
return area_normal;
|
||||
}
|
||||
return area_normal;
|
||||
return in_area;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue