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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Jul 28 15:28:25 CEST 2007


Revision: 28266
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28266&view=rev
Author:   thebluegr
Date:     2007-07-28 06:28:25 -0700 (Sat, 28 Jul 2007)

Log Message:
-----------
The palette in Benny's part in the IHNM demo is correct now

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

Modified: scummvm/trunk/engines/saga/animation.cpp
===================================================================
--- scummvm/trunk/engines/saga/animation.cpp	2007-07-28 13:27:48 UTC (rev 28265)
+++ scummvm/trunk/engines/saga/animation.cpp	2007-07-28 13:28:25 UTC (rev 28266)
@@ -155,6 +155,12 @@
 
 	_vm->_gfx->setPalette(palette);
 
+	// WORKAROUND for a bug found in the original IHNM demo. The palette of cutaway 12 is incorrect (the incorrect
+	// palette can be seen in the original demo too, for a split second). Therefore, use the saved palette for this
+	// cutaway
+	if (_vm->getGameId() == GID_IHNM_DEMO && cut == 12)
+		_vm->_gfx->restorePalette();
+
 	free(buf);
 	free(resourceData);
 


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