mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 23:01:42 +00:00
GOB: Fix a map cleanup regression
svn-id: r54025
This commit is contained in:
parent
d5413deab3
commit
314d6568b3
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user