[Scummvm-git-logs] scummvm master -> 9f31bd7349662852301d0dad5d7ba5cc376fd01a
dreammaster
dreammaster at scummvm.org
Mon Apr 2 13:23:27 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9f31bd7349 XEEN: Fix implementation of cmdReturn opcode
Commit: 9f31bd7349662852301d0dad5d7ba5cc376fd01a
https://github.com/scummvm/scummvm/commit/9f31bd7349662852301d0dad5d7ba5cc376fd01a
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-04-02T07:23:24-04:00
Commit Message:
XEEN: Fix implementation of cmdReturn opcode
Changed paths:
engines/xeen/scripts.cpp
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 0d5a778..7f78f5b 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;
More information about the Scummvm-git-logs
mailing list