From e26da1a6349ae6f46ec98d1557983594e9389612 Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Mon, 16 Aug 2010 00:29:05 +0000 Subject: 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 --- engines/gob/scenery.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit v1.2.3