diff options
author | Nicola Mettifogo | 2009-02-25 08:53:58 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2009-02-25 08:53:58 +0000 |
commit | 93666ef53c284c2aae282949729bcd9ff53b5c2a (patch) | |
tree | 0522c62bceda5fc0084d0e0d09205e2d1a9bd343 /engines/parallaction/walk.cpp | |
parent | 8ba9e804a89d4ae49460e94734840ae4accbb1f7 (diff) | |
download | scummvm-rg350-93666ef53c284c2aae282949729bcd9ff53b5c2a.tar.gz scummvm-rg350-93666ef53c284c2aae282949729bcd9ff53b5c2a.tar.bz2 scummvm-rg350-93666ef53c284c2aae282949729bcd9ff53b5c2a.zip |
Updated all for(;;) loops to use prefix increment on iterators.
svn-id: r38876
Diffstat (limited to 'engines/parallaction/walk.cpp')
-rw-r--r-- | engines/parallaction/walk.cpp | 2 |
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); |