diff options
author | Colin Snover | 2016-09-21 12:10:06 -0500 |
---|---|---|
committer | Colin Snover | 2016-09-29 19:39:16 -0500 |
commit | 0c9d423497073f351e670431fe7680edcebfd67a (patch) | |
tree | 327f90322f807ae9c11406720b0a69bbde235034 /engines/sci/engine/file.cpp | |
parent | aa720ca9cd035912a422ece64111d80346b4f477 (diff) | |
download | scummvm-rg350-0c9d423497073f351e670431fe7680edcebfd67a.tar.gz scummvm-rg350-0c9d423497073f351e670431fe7680edcebfd67a.tar.bz2 scummvm-rg350-0c9d423497073f351e670431fe7680edcebfd67a.zip |
SCI32: Emulate MGDX ego view metadata
Diffstat (limited to 'engines/sci/engine/file.cpp')
-rw-r--r-- | engines/sci/engine/file.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sci/engine/file.cpp b/engines/sci/engine/file.cpp index be3fb332ac..717efcb404 100644 --- a/engines/sci/engine/file.cpp +++ b/engines/sci/engine/file.cpp @@ -335,7 +335,11 @@ bool fillSavegameDesc(const Common::String &filename, SavegameDesc *desc) { desc->time = meta.saveTime; desc->version = meta.version; desc->gameVersion = meta.gameVersion; - desc->score = meta.score; + if (g_sci->getGameId() == GID_SHIVERS) { + desc->score = meta.score; + } else if (g_sci->getGameId() == GID_MOTHERGOOSEHIRES) { + desc->avatarId = meta.avatarId; + } if (meta.name.lastChar() == '\n') meta.name.deleteLastChar(); |