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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Jun 11 14:13:00 CEST 2007


Revision: 27356
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27356&view=rev
Author:   thebluegr
Date:     2007-06-11 05:12:59 -0700 (Mon, 11 Jun 2007)

Log Message:
-----------
When using some items in IHNM, it was possible that the verb would incorrectly change from "use" to "use with" (e.g. the jukebox in the honky-tonk). This has been fixed

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

Modified: scummvm/trunk/engines/saga/script.cpp
===================================================================
--- scummvm/trunk/engines/saga/script.cpp	2007-06-11 08:41:26 UTC (rev 27355)
+++ scummvm/trunk/engines/saga/script.cpp	2007-06-11 12:12:59 UTC (rev 27356)
@@ -757,7 +757,8 @@
 				} else {
 					actor = _vm->_actor->getActor(newObjectId);
 					objectId = newObjectId;
-					objectFlags = kObjUseWith;
+					if (_vm->getGameType() == GType_ITE)
+						objectFlags = kObjUseWith;
 					newRightButtonVerb = getVerbType(kVerbTalkTo);
 
 					if ((_currentVerb == getVerbType(kVerbPickUp)) ||


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