aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 7779abf521..899c4f4a1f 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1968,7 +1968,7 @@ void Scumm_v5::o5_setVarRange() {
a = fetchScriptByte();
do {
if (_opcode & 0x80)
- b = fetchScriptWord();
+ b = fetchScriptWordSigned();
else
b = fetchScriptByte();