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

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


Revision: 28255
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28255&view=rev
Author:   thebluegr
Date:     2007-07-27 19:25:09 -0700 (Fri, 27 Jul 2007)

Log Message:
-----------
Fixed one of the incorrectly loaded palettes in Benny's part in the IHNM demo

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

Modified: scummvm/trunk/engines/saga/animation.cpp
===================================================================
--- scummvm/trunk/engines/saga/animation.cpp	2007-07-28 01:04:59 UTC (rev 28254)
+++ scummvm/trunk/engines/saga/animation.cpp	2007-07-28 02:25:09 UTC (rev 28255)
@@ -94,7 +94,10 @@
 		startImmediately = true;
 	}
 
-	_vm->_gfx->savePalette();
+	// WORKAROUND: The IHNM demo deals with chained cutaways in a different manner. Don't save
+	// the palette of cutaway 11 (the woman looking at the marble)
+	if (!(_vm->getGameId() == GID_IHNM_DEMO && cut == 11))
+		_vm->_gfx->savePalette();
 
 	if (fade) {
 		_vm->_gfx->getCurrentPal(saved_pal);


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