aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise/script.cpp')
-rw-r--r--engines/cruise/script.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cruise/script.cpp b/engines/cruise/script.cpp
index cb801964d7..5606d637a2 100644
--- a/engines/cruise/script.cpp
+++ b/engines/cruise/script.cpp
@@ -67,8 +67,7 @@ int32 opcodeType0(void) {
uint8 *address = 0;
int type = getByteFromScript();
int ovl = getByteFromScript();
- short int offset;
- short int firstOffset = offset = getShortFromScript();
+ short int offset = getShortFromScript();
offset += index;
int typ7 = type & 7;