temporary edge-case fix
This commit is contained in:
parent
e15e65033e
commit
6571b05f33
1 changed files with 6 additions and 1 deletions
|
|
@ -1350,6 +1350,11 @@ namespace Server
|
|||
{
|
||||
++m_CurrentIndex;
|
||||
|
||||
if (m_CurrentIndex < 0 || m_CurrentIndex > m_CurrentList.Count) { // Sanity
|
||||
Console.WriteLine("EntityEnumerator OOB: {0}", m_CurrentIndex);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_CurrentIndex == m_CurrentList.Count)
|
||||
{
|
||||
++m_ySector;
|
||||
|
|
@ -2104,4 +2109,4 @@ namespace Server
|
|||
throw new ArgumentException();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue