- fixed return value of hw_CheckViewArea.

This commit is contained in:
Christoph Oelckers 2018-04-25 00:30:35 +02:00
parent bc8f47444f
commit f4e139485a

View file

@ -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;
}