aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/saveload_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/saveload_v2.cpp b/engines/kyra/saveload_v2.cpp
index 62cc11ca82..0da58233ff 100644
--- a/engines/kyra/saveload_v2.cpp
+++ b/engines/kyra/saveload_v2.cpp
@@ -136,7 +136,7 @@ void KyraEngine_v2::loadGame(const char *fileName) {
Common::InSaveFile *in = openSaveForReading(fileName, version, saveName);
if (!in) {
// check for original savefile
- if (in = _saveFileMan->openForLoading(fileName)) {
+ if ((in = _saveFileMan->openForLoading(fileName))) {
in->seek(0x50, SEEK_CUR);
uint8 type[4];