*Fix build in Linux.

*Fix a bug of bloodboil. By Anubisss.

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

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);
}