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
This commit is contained in:
Arnaud Boutonné 2010-08-16 00:29:05 +00:00
parent 8b649178ce
commit e26da1a634

View File

@ -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;
}