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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Jun 6 02:51:07 CEST 2007


Revision: 27122
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27122&view=rev
Author:   thebluegr
Date:     2007-06-05 17:51:07 -0700 (Tue, 05 Jun 2007)

Log Message:
-----------
Fix regression caused by commit #27108

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

Modified: scummvm/trunk/engines/saga/script.cpp
===================================================================
--- scummvm/trunk/engines/saga/script.cpp	2007-06-06 00:48:27 UTC (rev 27121)
+++ scummvm/trunk/engines/saga/script.cpp	2007-06-06 00:51:07 UTC (rev 27122)
@@ -619,9 +619,7 @@
 
 	hitZone = NULL;
 
-	if (objectTypeId(_pendingObject[0]) == 0)
-		return;
-	else if (objectTypeId(_pendingObject[0]) == kGameObjectHitZone) {
+	if (objectTypeId(_pendingObject[0]) == kGameObjectHitZone) {
 		 hitZone = _vm->_scene->_objectMap->getHitZone(objectIdToIndex(_pendingObject[0]));
 	} else {
 		if ((_pendingVerb == getVerbType(kVerbUse)) && (objectTypeId(_pendingObject[1]) == 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