[Scummvm-cvs-logs] SF.net SVN: scummvm:[52109] scummvm/trunk/engines/gob/scenery.cpp
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Mon Aug 16 02:29:06 CEST 2010
Revision: 52109
http://scummvm.svn.sourceforge.net/scummvm/?rev=52109&view=rev
Author: strangerke
Date: 2010-08-16 00:29:05 +0000 (Mon, 16 Aug 2010)
Log Message:
-----------
Fascination - (SylvainTV) Always free anims when initializing the scenary. (Hopefully) Fixes every window display issues in lab, villa, picture labo, and lounge.
Modified Paths:
--------------
scummvm/trunk/engines/gob/scenery.cpp
Modified: scummvm/trunk/engines/gob/scenery.cpp
===================================================================
--- scummvm/trunk/engines/gob/scenery.cpp 2010-08-16 00:21:07 UTC (rev 52108)
+++ scummvm/trunk/engines/gob/scenery.cpp 2010-08-16 00:29:05 UTC (rev 52109)
@@ -80,6 +80,10 @@
void Scenery::init() {
for (int i = 0; i < 10; i++) {
+ if (_vm->getGameType() == kGameTypeFascination) {
+ freeAnim(i);
+ freeStatic(i);
+ }
_animPictCount[i] = 0;
_staticPictCount[i] = -1;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list