diff options
author | Adrian Frühwirth | 2018-03-16 20:37:22 +0100 |
---|---|---|
committer | Adrian Frühwirth | 2018-03-16 20:37:22 +0100 |
commit | 58bce945100fcce94d042bd185114169bd081c25 (patch) | |
tree | 42f9009cda618c800247277c02330865f87e0f9a /engines/tucker | |
parent | ed44cbf287a9c75ca5925b1108a0c58a870191c1 (diff) | |
download | scummvm-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.cpp | 2 |
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; } |