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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Jun 5 18:31:59 CEST 2007


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

Log Message:
-----------
Filtering specific verbs is used in ITE, but not in IHNM. It's now possible to use the jukebox in the honky-tonk in IHNM

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

Modified: scummvm/trunk/engines/saga/script.cpp
===================================================================
--- scummvm/trunk/engines/saga/script.cpp	2007-06-05 16:29:15 UTC (rev 27109)
+++ scummvm/trunk/engines/saga/script.cpp	2007-06-05 16:31:58 UTC (rev 27110)
@@ -719,8 +719,10 @@
 						(_currentVerb == getVerbType(kVerbClose)) ||
 						((_currentVerb == getVerbType(kVerbGive)) && !_firstObjectSet) ||
 						((_currentVerb == getVerbType(kVerbUse)) && !(actor->_flags & kFollower))) {
-							objectId = ID_NOTHING;
-							newObjectId = ID_NOTHING;
+							if (_vm->getGameType() == GType_ITE) {
+								objectId = ID_NOTHING;
+								newObjectId = ID_NOTHING;
+							}
 						}
 				}
 			}


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