diff options
author | anotherguest | 2014-06-12 10:01:26 +0200 |
---|---|---|
committer | anotherguest | 2014-06-12 10:01:26 +0200 |
commit | 17edab101b2a2561e92c71c9538aff7c2e7bd343 (patch) | |
tree | 5df1f7a919c5022caa69e83fd4304bbb39601c1a /engines/fullpipe/gameloader.cpp | |
parent | c2debe028de42db324289deefbe23697c95bbae4 (diff) | |
parent | 18242b8a2997435353b9c2cfdccb0f4905c443ce (diff) | |
download | scummvm-rg350-17edab101b2a2561e92c71c9538aff7c2e7bd343.tar.gz scummvm-rg350-17edab101b2a2561e92c71c9538aff7c2e7bd343.tar.bz2 scummvm-rg350-17edab101b2a2561e92c71c9538aff7c2e7bd343.zip |
Merge branch 'master' of github.com:scummvm/scummvm
Diffstat (limited to 'engines/fullpipe/gameloader.cpp')
-rw-r--r-- | engines/fullpipe/gameloader.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/fullpipe/gameloader.cpp b/engines/fullpipe/gameloader.cpp index c8b01939dd..0599295160 100644 --- a/engines/fullpipe/gameloader.cpp +++ b/engines/fullpipe/gameloader.cpp @@ -635,7 +635,16 @@ bool readSavegameHeader(Common::InSaveFile *in, FullpipeSavegameHeader &header) } void GameLoader::restoreDefPicAniInfos() { - warning("STUB: restoreDefPicAniInfos()"); + for (uint i = 0; i < _sc2array.size(); i++) { + if (_sc2array[i]._picAniInfos) { + free(_sc2array[i]._picAniInfos); + _sc2array[i]._picAniInfos = 0; + _sc2array[i]._picAniInfosCount = 0; + } + + if (_sc2array[i]._scene) + applyPicAniInfos(_sc2array[i]._scene, _sc2array[i]._defPicAniInfos, _sc2array[i]._defPicAniInfosCount); + } } GameVar *FullpipeEngine::getGameLoaderGameVar() { |