[Scummvm-git-logs] scummvm master -> cd516b93ef4502f9552c20e36cebe8d1dc80c6e9

sev- sev at scummvm.org
Fri Dec 1 23:17:39 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

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


Commit: cd516b93ef4502f9552c20e36cebe8d1dc80c6e9
    https://github.com/scummvm/scummvm/commit/cd516b93ef4502f9552c20e36cebe8d1dc80c6e9
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-12-01T23:16:09+01:00

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

Changed paths:
    engines/fullpipe/gameloader.cpp


diff --git a/engines/fullpipe/gameloader.cpp b/engines/fullpipe/gameloader.cpp
index e6f5b08..b74f3b4 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);
 	}





More information about the Scummvm-git-logs mailing list