Skip to content

Commit

Permalink
XEEN: Fix implementation of cmdReturn opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Apr 2, 2018
1 parent 77f5946 commit 9f31bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/xeen/scripts.cpp
Expand Up @@ -1037,7 +1037,7 @@ bool Scripts::cmdCallEvent(ParamsIterator &params) {
}

bool Scripts::cmdReturn(ParamsIterator &params) {
StackEntry &se = _stack.top();
StackEntry se = _stack.pop();
_currentPos = se;
_lineNum = se.line;

Expand Down

0 comments on commit 9f31bd7

Please sign in to comment.