diff options
| author | Ludvig Strigeus | 2001-10-10 17:18:33 +0000 | 
|---|---|---|
| committer | Ludvig Strigeus | 2001-10-10 17:18:33 +0000 | 
| commit | ae88928839c201c276e015064fefac87a5dc0a0d (patch) | |
| tree | 2136aa3453da20777d72796ea0a1d7894773244f /actor.cpp | |
| parent | 5c2d7af8e6fb0a8554826186c970b0402c12f19e (diff) | |
| download | scummvm-rg350-ae88928839c201c276e015064fefac87a5dc0a0d.tar.gz scummvm-rg350-ae88928839c201c276e015064fefac87a5dc0a0d.tar.bz2 scummvm-rg350-ae88928839c201c276e015064fefac87a5dc0a0d.zip | |
fixed swapped parameters in o_walkActorToActor
svn-id: r3421
Diffstat (limited to 'actor.cpp')
| -rw-r--r-- | actor.cpp | 5 | 
1 files changed, 4 insertions, 1 deletions
| @@ -17,6 +17,9 @@   *   * Change Log:   * $Log$ + * Revision 1.4  2001/10/10 17:18:33  strigeus + * fixed swapped parameters in o_walkActorToActor + *   * Revision 1.3  2001/10/10 11:24:21  strigeus   * fixed return value from adjustXYToBeInBox   * @@ -141,7 +144,7 @@ int Scumm::actorWalkStep(Actor *a) {  	YXFactor = a->walkdata.YXFactor;  	direction = XYFactor>0 ? 1 : 0; -	if (abs(YXFactor) * 3 > abs(XYFactor)) +	if (abs(YXFactor) * 2 > abs(XYFactor))  		direction = YXFactor>0 ? 2 : 3;  	a->newDirection = direction; | 
