diff options
author | Travis Howell | 2004-01-16 13:01:33 +0000 |
---|---|---|
committer | Travis Howell | 2004-01-16 13:01:33 +0000 |
commit | 11411767758dda1b7341c28e085064ee13c32c7b (patch) | |
tree | a86a23a8c180cc7d0a44002a19773ad55ae3c6fb /scumm/akos.cpp | |
parent | 9a8aac9e63144f9f2658b925c98c901ad0d842d3 (diff) | |
download | scummvm-rg350-11411767758dda1b7341c28e085064ee13c32c7b.tar.gz scummvm-rg350-11411767758dda1b7341c28e085064ee13c32c7b.tar.bz2 scummvm-rg350-11411767758dda1b7341c28e085064ee13c32c7b.zip |
Revert last array change, until they can be verified.
svn-id: r12432
Diffstat (limited to 'scumm/akos.cpp')
-rw-r--r-- | scumm/akos.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index be9aeec068..d3af4ee874 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -1252,7 +1252,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; |