FULLPIPE: Fix bug #10325: New game does not put back already picked up items

This commit is contained in:
Eugene Sandulenko 2017-12-01 23:16:09 +01:00
parent d3626c39ed
commit cd516b93ef

View File

@ -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);
}