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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Jul 14 05:44:48 CEST 2007


Revision: 28064
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28064&view=rev
Author:   thebluegr
Date:     2007-07-13 20:44:47 -0700 (Fri, 13 Jul 2007)

Log Message:
-----------
Fix graphics glitch in the rat caves in ITE. Closes bug #1735437 - "ITE: Sprite priority in rat caves"

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

Modified: scummvm/trunk/engines/saga/actor.cpp
===================================================================
--- scummvm/trunk/engines/saga/actor.cpp	2007-07-14 00:57:03 UTC (rev 28063)
+++ scummvm/trunk/engines/saga/actor.cpp	2007-07-14 03:44:47 UTC (rev 28064)
@@ -1605,7 +1605,9 @@
 				if (actor->_lastZone)
 					stepZoneAction(actor, actor->_lastZone, true, false);
 				actor->_lastZone = hitZone;
-				if (hitZone)
+				// WORKAROUND for graphics glitch in the rat caves. Don't do this step zone action in the rat caves
+				// (room 51) to avoid the glitch
+				if (hitZone && !(_vm->getGameType() == GType_ITE && _vm->_scene->currentSceneNumber() == 51))
 					stepZoneAction(actor, hitZone, false, false);
 			}
 		}


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