forked from mirror/DotRecast
[Upstream] Fix spans being filtered even if they have just enough clearance
This commit is contained in:
parent
0af084afb8
commit
458f57e3d5
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue