[Scummvm-cvs-logs] SF.net SVN: scummvm:[48163] scummvm/trunk/engines/scumm/verbs.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Fri Mar 5 01:58:29 CET 2010
Revision: 48163
http://scummvm.svn.sourceforge.net/scummvm/?rev=48163&view=rev
Author: fingolfin
Date: 2010-03-05 00:58:29 +0000 (Fri, 05 Mar 2010)
Log Message:
-----------
Patch #2963270: MM: V0 Verb Give Fix
Modified Paths:
--------------
scummvm/trunk/engines/scumm/verbs.cpp
Modified: scummvm/trunk/engines/scumm/verbs.cpp
===================================================================
--- scummvm/trunk/engines/scumm/verbs.cpp 2010-03-04 17:46:18 UTC (rev 48162)
+++ scummvm/trunk/engines/scumm/verbs.cpp 2010-03-05 00:58:29 UTC (rev 48163)
@@ -703,7 +703,7 @@
if (!a->_moving) {
int dist = getDist(a->getRealPos().x, a->getRealPos().y, a2->getRealPos().x, a2->getRealPos().y);
- if (dist > 5)
+ if (dist > 8)
a->startWalkActor(a2->getRealPos().x, a2->getRealPos().y, 1);
else
return false;
@@ -730,8 +730,7 @@
// Detect distance from target object
int dist = getDist(a->getRealPos().x, a->getRealPos().y, x, y);
- // FIXME: This should be changed once the walkbox problem is fixed
- if (dist > 0x5) {
+ if (dist > 8) {
a->startWalkActor(x, y, dir);
VAR(6) = x;
VAR(7) = y;
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