diff options
author | Strangerke | 2013-11-23 10:18:04 +0100 |
---|---|---|
committer | Strangerke | 2013-11-23 10:18:04 +0100 |
commit | 84e99ae652662dfb32294cd9034666af9cf47e76 (patch) | |
tree | 0e270d81d31f527e509408744aee837eb4f8d1bb /engines/avalanche/nim.cpp | |
parent | 13449472f2b2930cb09bcb685bf1d9a49c0d8ed1 (diff) | |
download | scummvm-rg350-84e99ae652662dfb32294cd9034666af9cf47e76.tar.gz scummvm-rg350-84e99ae652662dfb32294cd9034666af9cf47e76.tar.bz2 scummvm-rg350-84e99ae652662dfb32294cd9034666af9cf47e76.zip |
AVALANCHE: Fix savegames compatibility before/after Nim implementation
Diffstat (limited to 'engines/avalanche/nim.cpp')
-rw-r--r-- | engines/avalanche/nim.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/avalanche/nim.cpp b/engines/avalanche/nim.cpp index faca3e491d..d066ffc3e8 100644 --- a/engines/avalanche/nim.cpp +++ b/engines/avalanche/nim.cpp @@ -43,6 +43,9 @@ void Nim::resetVariables() { } void Nim::synchronize(Common::Serializer &sz) { + if (sz.isLoading() && sz.getVersion() < 2) + return; + sz.syncAsByte(_playedNim); } |