aboutsummaryrefslogtreecommitdiff
path: root/engines/tucker
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-03-16 20:37:22 +0100
committerAdrian Frühwirth2018-03-16 20:37:22 +0100
commit58bce945100fcce94d042bd185114169bd081c25 (patch)
tree42f9009cda618c800247277c02330865f87e0f9a /engines/tucker
parented44cbf287a9c75ca5925b1108a0c58a870191c1 (diff)
downloadscummvm-rg350-58bce945100fcce94d042bd185114169bd081c25.tar.gz
scummvm-rg350-58bce945100fcce94d042bd185114169bd081c25.tar.bz2
scummvm-rg350-58bce945100fcce94d042bd185114169bd081c25.zip
TUCKER: Added missing check for minimum supported savegame version
Diffstat (limited to 'engines/tucker')
-rw-r--r--engines/tucker/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tucker/saveload.cpp b/engines/tucker/saveload.cpp
index 417804104b..41904a64d8 100644
--- a/engines/tucker/saveload.cpp
+++ b/engines/tucker/saveload.cpp
@@ -170,7 +170,7 @@ TuckerEngine::SavegameError TuckerEngine::readSavegameHeader(Common::InSaveFile
file->skip(2);
}
- if (header.version > kSavegameVersionCurrent) {
+ if (header.version < kSavegameVersionMinimum || header.version > kSavegameVersionCurrent) {
return kSavegameInvalidVersionError;
}