diff options
author | Travis Howell | 2004-08-28 03:24:29 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-28 03:24:29 +0000 |
commit | 09b3b6cb57f4454850ff60e2a539702b64bdee44 (patch) | |
tree | 7830416751dad31e7ed73b7b7712289a6bafbaf8 /scumm | |
parent | 22fb004e209f837b86231ec213a07ad7e7b90ec5 (diff) | |
download | scummvm-rg350-09b3b6cb57f4454850ff60e2a539702b64bdee44.tar.gz scummvm-rg350-09b3b6cb57f4454850ff60e2a539702b64bdee44.tar.bz2 scummvm-rg350-09b3b6cb57f4454850ff60e2a539702b64bdee44.zip |
Remove left overs
svn-id: r14800
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/akos.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/scumm/akos.cpp b/scumm/akos.cpp index 31054c01e1..dd7ef28a97 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -1348,21 +1348,15 @@ bool ScummEngine::akos_increaseAnim(Actor *a, int chan, const byte *aksq, const } void ScummEngine::akos_queCommand(byte cmd, Actor *a, int param_1, int param_2) { - if (_queuePos > 32) - error("overflow"); + checkRange(32, 0, _queuePos, "akos_queCommand overflow"); ; _queuePos++; _queueCmd[_queuePos] = cmd; _queueActor[_queuePos] = a->number; _queueParam1[_queuePos] = param_1; _queueParam2[_queuePos] = param_2; - - - warning("_queuePos %d", _queuePos); } - - void ScummEngine::akos_processQueue() { byte cmd; int actor, param_1, param_2; |