aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/script.cpp
diff options
context:
space:
mode:
authorBorja Lorente2016-07-01 10:40:13 +0200
committerBorja Lorente2016-08-14 18:44:37 +0200
commita6e1202a0c95c8124536504cf1dee81970ae74bb (patch)
tree14b8dd0347104eebb6e4bf41097676f3da7c7bf8 /engines/macventure/script.cpp
parent9403ef720a40ce47688b1957d1a64bc91c87df0a (diff)
downloadscummvm-rg350-a6e1202a0c95c8124536504cf1dee81970ae74bb.tar.gz
scummvm-rg350-a6e1202a0c95c8124536504cf1dee81970ae74bb.tar.bz2
scummvm-rg350-a6e1202a0c95c8124536504cf1dee81970ae74bb.zip
MACVENTURE: Fix object selection fallthrough
Diffstat (limited to 'engines/macventure/script.cpp')
-rw-r--r--engines/macventure/script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/macventure/script.cpp b/engines/macventure/script.cpp
index cc9474e6d4..cbc47a9148 100644
--- a/engines/macventure/script.cpp
+++ b/engines/macventure/script.cpp
@@ -794,8 +794,8 @@ void ScriptEngine::opabLTS(EngineState * state, EngineFrame * frame) {
}
void ScriptEngine::opacEQ(EngineState * state, EngineFrame * frame) {
- word b = neg16(state->pop());
- word a = neg16(state->pop());
+ word b = state->pop();
+ word a = state->pop();
state->push((a == b) ? 0xFFFF : 0);
}