[Scummvm-cvs-logs] SF.net SVN: scummvm: [31177] scummvm/trunk/engines/kyra/kyra_v2.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue Mar 18 13:55:42 CET 2008
Revision: 31177
http://scummvm.svn.sourceforge.net/scummvm/?rev=31177&view=rev
Author: lordhoto
Date: 2008-03-18 05:55:41 -0700 (Tue, 18 Mar 2008)
Log Message:
-----------
Fixed input bug causing Zanthia not to move sometimes.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/kyra_v2.cpp
Modified: scummvm/trunk/engines/kyra/kyra_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_v2.cpp 2008-03-18 12:51:47 UTC (rev 31176)
+++ scummvm/trunk/engines/kyra/kyra_v2.cpp 2008-03-18 12:55:41 UTC (rev 31177)
@@ -1358,8 +1358,10 @@
return 0;
}
- if (ABS(_mainCharacter.x1 - x) < 4 || ABS(_mainCharacter.y1 - y) < 2)
+ if (ABS(_mainCharacter.x1 - x) < 4 && ABS(_mainCharacter.y1 - y) < 2) {
+ _pathfinderFlag = 0;
return 0;
+ }
int curX = _mainCharacter.x1 & ~3;
int curY = _mainCharacter.y1 & ~1;
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