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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Sep 15 05:08:58 CEST 2007


Revision: 28903
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28903&view=rev
Author:   thebluegr
Date:     2007-09-14 20:08:58 -0700 (Fri, 14 Sep 2007)

Log Message:
-----------
The right button verb in IHNM will no longer be invalid for some hitzones (e.g. "Quit game the door")

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

Modified: scummvm/trunk/engines/saga/script.cpp
===================================================================
--- scummvm/trunk/engines/saga/script.cpp	2007-09-14 12:49:09 UTC (rev 28902)
+++ scummvm/trunk/engines/saga/script.cpp	2007-09-15 03:08:58 UTC (rev 28903)
@@ -831,6 +831,10 @@
 						if (newRightButtonVerb >= getVerbType(kVerbOptions)) {
 							newRightButtonVerb = getVerbType(kVerbNone);
 						}
+					} else {
+						if (newRightButtonVerb >= getVerbType(kVerbOptions)) {
+							newRightButtonVerb = getVerbType(kVerbWalkTo);
+						}
 					}
 
 					if ((_currentVerb == getVerbType(kVerbTalkTo)) || ((_currentVerb == getVerbType(kVerbGive)) && _firstObjectSet)) {


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