[Scummvm-cvs-logs] SF.net SVN: scummvm:[54025] scummvm/trunk/engines/gob/map_v2.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Mon Nov 1 21:47:39 CET 2010
Revision: 54025
http://scummvm.svn.sourceforge.net/scummvm/?rev=54025&view=rev
Author: drmccoy
Date: 2010-11-01 20:47:38 +0000 (Mon, 01 Nov 2010)
Log Message:
-----------
GOB: Fix a map cleanup regression
Modified Paths:
--------------
scummvm/trunk/engines/gob/map_v2.cpp
Modified: scummvm/trunk/engines/gob/map_v2.cpp
===================================================================
--- scummvm/trunk/engines/gob/map_v2.cpp 2010-11-01 20:41:53 UTC (rev 54024)
+++ scummvm/trunk/engines/gob/map_v2.cpp 2010-11-01 20:47:38 UTC (rev 54025)
@@ -266,7 +266,7 @@
} else {
- for (int i = obj->nearestWayPoint; i >= obj->nearestDest; i++) {
+ for (int i = obj->nearestWayPoint; i >= obj->nearestDest; i--) {
if (_wayPoints[i].notWalkable == 1)
break;
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