aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--saga/saga.h2
-rw-r--r--scumm/scumm.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/saga/saga.h b/saga/saga.h
index c21bcc9670..41f37b55f2 100644
--- a/saga/saga.h
+++ b/saga/saga.h
@@ -572,7 +572,7 @@ public:
return isSaveListFull() ? _saveFilesCount : _saveFilesCount + 1;
}
- bool _framesEsc;
+ int16 _framesEsc;
uint32 _globalFlags;
byte _ethicsPoints[5]; // TODO: Verify that this is large enough
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++) {