GOB: Fix a map cleanup regression

svn-id: r54025
This commit is contained in:
Sven Hesse 2010-11-01 20:47:38 +00:00
parent d5413deab3
commit 314d6568b3

View File

@ -266,7 +266,7 @@ void Map_v2::optimizePoints(Mult::Mult_Object *obj, int16 x, int16 y) {
} 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;