aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/walk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/walk.cpp')
-rw-r--r--engines/parallaction/walk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp
index fccc9def4f..f6ba1c2615 100644
--- a/engines/parallaction/walk.cpp
+++ b/engines/parallaction/walk.cpp
@@ -429,7 +429,7 @@ void PathWalker_BR::buildPath(State &s, uint16 x, uint16 y) {
PointList::iterator b = z1->u.path->_lists[id].begin();
PointList::iterator e = z1->u.path->_lists[id].end();
- for ( ; b != e; b++) {
+ for ( ; b != e; ++b) {
s._walkPath.push_front(*b);
}
s._walkPath.push_back(dest);