diff options
author | Arnaud Boutonné | 2010-08-16 00:29:05 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-08-16 00:29:05 +0000 |
commit | e26da1a6349ae6f46ec98d1557983594e9389612 (patch) | |
tree | 626b5391a05434d78b2749d0b9e49fb5cfadad6a | |
parent | 8b649178ce7aaabaf9f37a9d6274ef747b509e1f (diff) | |
download | scummvm-rg350-e26da1a6349ae6f46ec98d1557983594e9389612.tar.gz scummvm-rg350-e26da1a6349ae6f46ec98d1557983594e9389612.tar.bz2 scummvm-rg350-e26da1a6349ae6f46ec98d1557983594e9389612.zip |
Fascination - (SylvainTV) Always free anims when initializing the scenary. (Hopefully) Fixes every window display issues in lab, villa, picture labo, and lounge.
svn-id: r52109
-rw-r--r-- | engines/gob/scenery.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/scenery.cpp b/engines/gob/scenery.cpp index f9587dc0b3..75e242e6c5 100644 --- a/engines/gob/scenery.cpp +++ b/engines/gob/scenery.cpp @@ -80,6 +80,10 @@ Scenery::~Scenery() { void Scenery::init() { for (int i = 0; i < 10; i++) { + if (_vm->getGameType() == kGameTypeFascination) { + freeAnim(i); + freeStatic(i); + } _animPictCount[i] = 0; _staticPictCount[i] = -1; } |