mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +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
|
// allow some tolerance in case slopes are involved
|
||||||
if (cz1 <= fz1 + 1. / 100 && cz2 <= fz2 + 1. / 100)
|
if (cz1 <= fz1 + 1. / 100 && cz2 <= fz2 + 1. / 100)
|
||||||
return area_below;
|
return area_below;
|
||||||
}
|
else
|
||||||
return area_normal;
|
return area_normal;
|
||||||
|
}
|
||||||
|
return in_area;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue