aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r--scumm/scumm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index ba6cf1affe..67aaa07d28 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -3029,7 +3029,7 @@ Engine *Engine_SCUMM_create(GameDetector *detector, OSystem *syst) {
const char *name = g->name;
char detectName[256], tempName[256], gameMD5[32+1];
uint8 md5sum[16];
- int substLastIndex;
+ int substLastIndex = 0;
bool found = false;
for (int method = 0; method < 5 && !found; method++) {