summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index 995667cd7..b30703a7e 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -266,9 +266,7 @@ void Minimap::draw(gcn::Graphics *graphics)
}
const ActorSprites &actors = actorSpriteManager->getAll();
-
- for (ActorSpritesConstIterator it = actors.begin(), it_end = actors.end();
- it != it_end; ++it)
+ FOR_EACH (ActorSpritesConstIterator, it, actors)
{
if (!(*it) || (*it)->getType() == ActorSprite::FLOOR_ITEM)
continue;