*Fix build in Linux.

*Fix a bug of bloodboil. By Anubisss.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2008-12-18 09:44:57 -06:00
1 parent 49290bf010
commit 0f1f748138
3 files changed
+8 -2

No files matched your search

+6
View File
@@ -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 &notifier) const
{
GetMap()->VisitAll(GetPositionX(), GetPositionY(), radius, notifier);
}