diff options
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r-- | src/maplayer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp index 7f952060d..dcc9621d2 100644 --- a/src/maplayer.cpp +++ b/src/maplayer.cpp @@ -618,8 +618,7 @@ void SpecialLayer::setTile(const int x, const int y, const int type) void SpecialLayer::addRoad(Path road) { - for (Path::const_iterator i = road.begin(), i_end = road.end(); - i != i_end; ++i) + FOR_EACH (Path::const_iterator, i, road) { const Position &pos = (*i); MapItem *item = getTile(pos.x, pos.y); |