*cough*... never mind me...
svn-id: r5381
This commit is contained in:
parent
e7a245114d
commit
53f26cb4ac
1 changed files with 1 additions and 1 deletions
|
@ -843,7 +843,7 @@ void Scumm::push(int a)
|
|||
|
||||
int Scumm::pop()
|
||||
{
|
||||
if ((_scummStackPos > 0) && ((unsigned int)_scummStackPos <= ARRAYSIZE(_scummStack))) {
|
||||
if ((_scummStackPos < 1) || ((unsigned int)_scummStackPos > ARRAYSIZE(_scummStack))) {
|
||||
error("No items on stack to pop() for %s (0x%X) at [%d-%d]\n", _opcodes_lookup[_opcode], _opcode, _roomResource, vm.slot[_currentScript].number);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue