[Scummvm-cvs-logs] SF.net SVN: scummvm: [27121] scummvm/branches/branch-0-10-0/engines/saga/ script.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed Jun 6 02:48:27 CEST 2007
Revision: 27121
http://scummvm.svn.sourceforge.net/scummvm/?rev=27121&view=rev
Author: thebluegr
Date: 2007-06-05 17:48:27 -0700 (Tue, 05 Jun 2007)
Log Message:
-----------
Fix regression caused by commit #27108
Modified Paths:
--------------
scummvm/branches/branch-0-10-0/engines/saga/script.cpp
Modified: scummvm/branches/branch-0-10-0/engines/saga/script.cpp
===================================================================
--- scummvm/branches/branch-0-10-0/engines/saga/script.cpp 2007-06-06 00:47:35 UTC (rev 27120)
+++ scummvm/branches/branch-0-10-0/engines/saga/script.cpp 2007-06-06 00:48:27 UTC (rev 27121)
@@ -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