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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Jun 5 18:29:16 CEST 2007


Revision: 27109
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27109&view=rev
Author:   thebluegr
Date:     2007-06-05 09:29:15 -0700 (Tue, 05 Jun 2007)

Log Message:
-----------
Add the hack for the staircase in the zeppelin in IHNM once more, apparently the cause for it is different than what I thought

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

Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp	2007-06-05 15:04:25 UTC (rev 27108)
+++ scummvm/trunk/engines/saga/sfuncs.cpp	2007-06-05 16:29:15 UTC (rev 27109)
@@ -731,6 +731,14 @@
 	int16 flag = thread->pop();
 	HitZone *hitZone;
 
+	// HACK: Don't disable the tear in scene 14, to keep the staircase functioning
+	// FIXME: Investigate why this hack is needed and remove it
+	if (_vm->getGameType() == GType_IHNM && _vm->_scene->currentChapterNumber() == 1 &&
+		_vm->_scene->currentSceneNumber() == 14) {
+		warning("sfEnableZone: HACK: Prevent unusable staircase");
+		return;		// Do nothing
+	}
+
 	if (objectTypeId(objectId) == NULL)
 		return;
 	else if (objectTypeId(objectId) == kGameObjectHitZone)


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