diff options
author | Paul Gilbert | 2018-04-02 07:23:24 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-04-02 07:23:24 -0400 |
commit | 9f31bd7349662852301d0dad5d7ba5cc376fd01a (patch) | |
tree | bfa43a56ecbd0f317c4e85c600f05163cbd10957 | |
parent | 77f594693d5325cbb99f9d96edf9e29bd361f838 (diff) | |
download | scummvm-rg350-9f31bd7349662852301d0dad5d7ba5cc376fd01a.tar.gz scummvm-rg350-9f31bd7349662852301d0dad5d7ba5cc376fd01a.tar.bz2 scummvm-rg350-9f31bd7349662852301d0dad5d7ba5cc376fd01a.zip |
XEEN: Fix implementation of cmdReturn opcode
-rw-r--r-- | engines/xeen/scripts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 0d5a778d6d..7f78f5bf2c 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -1037,7 +1037,7 @@ bool Scripts::cmdCallEvent(ParamsIterator ¶ms) { } bool Scripts::cmdReturn(ParamsIterator ¶ms) { - StackEntry &se = _stack.top(); + StackEntry se = _stack.pop(); _currentPos = se; _lineNum = se.line; |