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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Aug 20 21:14:22 CEST 2007


Revision: 28679
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28679&view=rev
Author:   thebluegr
Date:     2007-08-20 12:14:22 -0700 (Mon, 20 Aug 2007)

Log Message:
-----------
Fix for bug #1776993 - "ITE: Cannot exit a room (regression)"

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

Modified: scummvm/trunk/engines/saga/actor.cpp
===================================================================
--- scummvm/trunk/engines/saga/actor.cpp	2007-08-20 14:39:57 UTC (rev 28678)
+++ scummvm/trunk/engines/saga/actor.cpp	2007-08-20 19:14:22 UTC (rev 28679)
@@ -1608,8 +1608,11 @@
 					stepZoneAction(actor, actor->_lastZone, true, false);
 				actor->_lastZone = 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))
+				// (room 51) for hitzone 24577 (the door with the copy protection) to avoid the glitch. This glitch
+				// happens because the copy protection is supposed to kick in at this point, but it's bypassed
+				// (with permission from Wyrmkeep Entertainment)
+				if (hitZone && 
+					!(_vm->getGameType() == GType_ITE && _vm->_scene->currentSceneNumber() == 51 && hitZone->getHitZoneId() == 24577))
 					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