This commit is contained in:
Kawe Mazidjatari 2023-05-27 16:02:48 +02:00
parent 78a962ed2f
commit 417e91b8d9

View File

@ -174,7 +174,7 @@ void rcFilterWalkableLowHeightSpans(rcContext* context, const int walkableHeight
{
const int bot = (int)(span->smax);
const int top = span->next ? (int)(span->next->smin) : MAX_HEIGHT;
if ((top - bot) <= walkableHeight)
if ((top - bot) < walkableHeight)
{
span->area = RC_NULL_AREA;
}