summaryrefslogtreecommitdiff
path: root/src/resources/map/speciallayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/speciallayer.cpp')
-rw-r--r--src/resources/map/speciallayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/map/speciallayer.cpp b/src/resources/map/speciallayer.cpp
index 27713e074..ad186c2d9 100644
--- a/src/resources/map/speciallayer.cpp
+++ b/src/resources/map/speciallayer.cpp
@@ -104,7 +104,7 @@ void SpecialLayer::addRoad(const Path &road)
{
FOR_EACH (Path::const_iterator, i, road)
{
- const Position &pos = (*i);
+ const Position &pos = *i;
MapItem *const item = getTile(pos.x, pos.y);
if (item == nullptr)
setTile(pos.x, pos.y, new MapItem(MapItemType::ROAD));