mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-30 15:52:09 +00:00
- fix a typo
This commit is contained in:
parent
173fe94736
commit
a7ef178284
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ void JitCompiler::ThrowArrayOutOfBounds(VMScriptFunction *func, VMOP *line, int
|
|||
{
|
||||
try
|
||||
{
|
||||
if (index > size)
|
||||
if (index >= size)
|
||||
{
|
||||
ThrowAbortException(X_ARRAY_OUT_OF_BOUNDS, "Max.index = %u, current index = %u\n", size, index);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue