diff options
author | Eugene Sandulenko | 2017-12-01 23:16:09 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-12-01 23:16:09 +0100 |
commit | cd516b93ef4502f9552c20e36cebe8d1dc80c6e9 (patch) | |
tree | 432546549662a70e09f3a867eb2aa3fd09c7f2cf /engines/fullpipe | |
parent | d3626c39ed020e6d4321e48b417c488cca810316 (diff) | |
download | scummvm-rg350-cd516b93ef4502f9552c20e36cebe8d1dc80c6e9.tar.gz scummvm-rg350-cd516b93ef4502f9552c20e36cebe8d1dc80c6e9.tar.bz2 scummvm-rg350-cd516b93ef4502f9552c20e36cebe8d1dc80c6e9.zip |
FULLPIPE: Fix bug #10325: New game does not put back already picked up items
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/gameloader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/fullpipe/gameloader.cpp b/engines/fullpipe/gameloader.cpp index e6f5b0858d..b74f3b449a 100644 --- a/engines/fullpipe/gameloader.cpp +++ b/engines/fullpipe/gameloader.cpp @@ -653,6 +653,8 @@ const char *getSavegameFile(int saveGameIdx) { void GameLoader::restoreDefPicAniInfos() { for (uint i = 0; i < _sc2array.size(); i++) { + _sc2array[i]._picAniInfos.clear(); + if (_sc2array[i]._scene) applyPicAniInfos(_sc2array[i]._scene, _sc2array[i]._defPicAniInfos); } |