forked from mirror/DotRecast
fix: invalid index
This commit is contained in:
parent
e0e31c19b9
commit
d7244bd0ff
|
@ -296,9 +296,9 @@ namespace DotRecast.Recast
|
||||||
while (stack.Count > 0)
|
while (stack.Count > 0)
|
||||||
{
|
{
|
||||||
RcLevelStackEntry back = stack[^1];
|
RcLevelStackEntry back = stack[^1];
|
||||||
int ci = back.x;
|
int cx = back.x;
|
||||||
int cy = back.y;
|
int cy = back.y;
|
||||||
int cx = back.index;
|
int ci = back.index;
|
||||||
stack.RemoveAt(stack.Count - 1);
|
stack.RemoveAt(stack.Count - 1);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue