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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Sep 22 19:57:45 CEST 2007


Revision: 29024
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29024&view=rev
Author:   thebluegr
Date:     2007-09-22 10:57:45 -0700 (Sat, 22 Sep 2007)

Log Message:
-----------
Added a workaround for a bug with Gorrister's heart, which exists in the original game scripts of IHNM

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

Modified: scummvm/trunk/engines/saga/script.cpp
===================================================================
--- scummvm/trunk/engines/saga/script.cpp	2007-09-22 17:56:23 UTC (rev 29023)
+++ scummvm/trunk/engines/saga/script.cpp	2007-09-22 17:57:45 UTC (rev 29024)
@@ -494,6 +494,14 @@
 		}
 	}
 
+	// WORKAROUND for a bug in the original game scripts of IHNM. Gorrister's heart is not supposed to have a
+	// "use" phrase attached to it (it's not used anywhere, it's only given), but when "used", an incorrect
+	// reply is given to the player ("It's too narrow for me to pass", said when Gorrister tries to pick up the
+	// heart without a rope). Therefore, for object number 16397 (Gorrister's heart), when the active verb is
+	// "Use", set it to "Push", which gives a more appropriate reply ("What good will that do me?")
+	if (_vm->getGameType() == GType_IHNM && _pendingObject[0] == 16397 && _pendingVerb == 4)
+		_pendingVerb = 8;
+
 	if (scriptEntrypointNumber > 0) {
 
 		event.type = kEvTOneshot;


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