diff --git a/Recast/Source/RecastFilter.cpp b/Recast/Source/RecastFilter.cpp index e980a83..b5adba4 100644 --- a/Recast/Source/RecastFilter.cpp +++ b/Recast/Source/RecastFilter.cpp @@ -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; }