aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorathrxx2018-10-28 19:33:41 +0100
committerathrxx2018-10-28 19:52:04 +0100
commitcf1270086d19c9c4796cbe16e049b73edb3cb1cc (patch)
treebc6a569b9feda60368062e407f42a50e52c2b978 /engines/kyra
parentcc1e43bd2d4b88218337b2318fab0c0b67d66c78 (diff)
downloadscummvm-rg350-cf1270086d19c9c4796cbe16e049b73edb3cb1cc.tar.gz
scummvm-rg350-cf1270086d19c9c4796cbe16e049b73edb3cb1cc.tar.bz2
scummvm-rg350-cf1270086d19c9c4796cbe16e049b73edb3cb1cc.zip
KYRA: (EOB) - fix broken quickstart party
regression from 00e59a31 - savegames without thumbnails (like the quickstart party) would raise an error message.
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/saveload.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/saveload.cpp b/engines/kyra/saveload.cpp
index c306d6cb5d..365941b1c8 100644
--- a/engines/kyra/saveload.cpp
+++ b/engines/kyra/saveload.cpp
@@ -125,7 +125,8 @@ WARN_UNUSED_RESULT KyraEngine_v1::ReadSaveHeaderError KyraEngine_v1::readSaveHea
if (header.version >= 14) {
if (!Graphics::loadThumbnail(*in, header.thumbnail, skipThumbnail)) {
- return kRSHEIoError;
+ if (!skipThumbnail)
+ return kRSHEIoError;
}
}