[Upstream] Fix spans being filtered even if they have just enough clearance

This commit is contained in:
ikpil 2023-05-21 16:55:24 +09:00
parent 0af084afb8
commit 458f57e3d5
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ namespace DotRecast.Recast
{
int bot = (s.smax);
int top = s.next != null ? s.next.smin : SPAN_MAX_HEIGHT;
if ((top - bot) <= walkableHeight)
if ((top - bot) < walkableHeight)
s.area = RC_NULL_AREA;
}
}