[Scummvm-cvs-logs] SF.net SVN: scummvm: [30919] scummvm/trunk/engines/saga/palanim.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Feb 23 14:36:40 CET 2008


Revision: 30919
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30919&view=rev
Author:   thebluegr
Date:     2008-02-23 05:36:40 -0800 (Sat, 23 Feb 2008)

Log Message:
-----------
Fix for bug #1900258 - "ITE: Glitch when looking at the map while at the docks"

Modified Paths:
--------------
    scummvm/trunk/engines/saga/palanim.cpp

Modified: scummvm/trunk/engines/saga/palanim.cpp
===================================================================
--- scummvm/trunk/engines/saga/palanim.cpp	2008-02-22 20:11:51 UTC (rev 30918)
+++ scummvm/trunk/engines/saga/palanim.cpp	2008-02-23 13:36:40 UTC (rev 30919)
@@ -30,6 +30,7 @@
 #include "saga/events.h"
 
 #include "saga/palanim.h"
+#include "saga/interface.h"
 
 namespace Saga {
 
@@ -170,7 +171,10 @@
 		}
 	}
 
-	_vm->_gfx->setPalette(pal);
+	// Don't cycle the palette when the map is open
+	// Fixes bug #1900258 - "ITE: Glitch when looking at the map while at the docks"
+	if (_vm->_interface->getMode() != kPanelMap)
+		_vm->_gfx->setPalette(pal);
 
 	event.type = kEvTOneshot;
 	event.code = kPalAnimEvent;


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