summaryrefslogtreecommitdiff
path: root/src/game-server/mapcomposite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/mapcomposite.cpp')
-rw-r--r--src/game-server/mapcomposite.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game-server/mapcomposite.cpp b/src/game-server/mapcomposite.cpp
index 2ccee600..043c7fa6 100644
--- a/src/game-server/mapcomposite.cpp
+++ b/src/game-server/mapcomposite.cpp
@@ -408,6 +408,13 @@ void MapComposite::fillRegion(MapRegion &r, Rectangle const &p) const
}
}
+ZoneIterator MapComposite::getAroundPointIterator(Point const &p, int radius) const
+{
+ MapRegion r;
+ fillRegion(r, p, radius);
+ return ZoneIterator(r, this);
+}
+
ZoneIterator MapComposite::getAroundObjectIterator(Object *obj, int radius) const
{
MapRegion r;