mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 18:24:59 +00:00
An equal value should be allowed, originals used changeRange at this point.
svn-id: r12932
This commit is contained in:
parent
929fd0591f
commit
e5c3d7329b
@ -1263,7 +1263,7 @@ bool ScummEngine::akos_increaseAnim(Actor *a, int chan, const byte *aksq, const
|
||||
if (akfo == NULL)
|
||||
error("akos_increaseAnim: no AKFO table");
|
||||
tmp = a->getAnimVar(GB(2)) - 1;
|
||||
if (tmp < 0 || tmp >= numakfo - 1)
|
||||
if (tmp < 0 || tmp > numakfo - 1)
|
||||
error("akos_increaseAnim: invalid jump value %d", tmp);
|
||||
curpos = READ_LE_UINT16(&akfo[tmp]);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user