diff options
author | megamage <none@none> | 2008-12-18 09:44:57 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-18 09:44:57 -0600 |
commit | 0f1f748138495ec80e079227c0002e233b3173bd (patch) | |
tree | c9b904116b791a4cad94ccc1b94a52a9fdceb173 /src/game/Object.cpp | |
parent | 49290bf0106675cee9920d4bbbf950e2b3b18d06 (diff) |
*Fix build in Linux.
*Fix a bug of bloodboil. By Anubisss.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 7de1cb5da4e..b4be90747cf 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -1620,3 +1620,9 @@ void WorldObject::GetNearPoint(WorldObject const* searcher, float &x, float &y, UpdateGroundPositionZ(x,y,z); } + +template<class NOTIFIER> +void WorldObject::VisitNearbyObject(const float &radius, NOTIFIER ¬ifier) const +{ + GetMap()->VisitAll(GetPositionX(), GetPositionY(), radius, notifier); +}
\ No newline at end of file |