From cd516b93ef4502f9552c20e36cebe8d1dc80c6e9 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 1 Dec 2017 23:16:09 +0100 Subject: FULLPIPE: Fix bug #10325: New game does not put back already picked up items --- engines/fullpipe/gameloader.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/fullpipe') 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); } -- cgit v1.2.3