diff --git a/src/DotRecast.Recast/RcRegions.cs b/src/DotRecast.Recast/RcRegions.cs index d094b01..2b6c2fa 100644 --- a/src/DotRecast.Recast/RcRegions.cs +++ b/src/DotRecast.Recast/RcRegions.cs @@ -296,9 +296,9 @@ namespace DotRecast.Recast while (stack.Count > 0) { RcLevelStackEntry back = stack[^1]; - int ci = back.x; + int cx = back.x; int cy = back.y; - int cx = back.index; + int ci = back.index; stack.RemoveAt(stack.Count - 1);