aboutsummaryrefslogtreecommitdiff
path: root/src/game/Map.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-12 23:23:53 -0500
committermegamage <none@none>2009-08-12 23:23:53 -0500
commit729242058398f197d62585c334244fc9f817fd47 (patch)
tree8cac470fe4070c1c98a6334f32aa7f245c2417a2 /src/game/Map.cpp
parent92769d3ffeda9fbdd12760e453bc99320565ca98 (diff)
*Rewrite and simplify sendmessagetoset functions. This fixes the bug that player cannot see dummy aura is cancelled when puppet is far away.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-rw-r--r--src/game/Map.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp
index d2f1fe7c619..341cd59960f 100644
--- a/src/game/Map.cpp
+++ b/src/game/Map.cpp
@@ -486,30 +486,6 @@ Map::Add(T *obj)
AddNotifier(obj);
}
-void Map::MessageBroadcast(Player *player, WorldPacket *msg, bool to_self)
-{
- Trinity::MessageDistDeliverer post_man(player, msg, World::GetMaxVisibleDistance(), to_self);
- VisitWorld(player->GetPositionX(), player->GetPositionY(), World::GetMaxVisibleDistance(), post_man);
-}
-
-void Map::MessageBroadcast(WorldObject *obj, WorldPacket *msg)
-{
- Trinity::MessageDistDeliverer post_man(obj, msg, World::GetMaxVisibleDistance());
- VisitWorld(obj->GetPositionX(), obj->GetPositionY(), World::GetMaxVisibleDistance(), post_man);
-}
-
-void Map::MessageDistBroadcast(Player *player, WorldPacket *msg, float dist, bool to_self, bool own_team_only)
-{
- Trinity::MessageDistDeliverer post_man(player, msg, dist, to_self, own_team_only);
- VisitWorld(player->GetPositionX(), player->GetPositionY(), dist, post_man);
-}
-
-void Map::MessageDistBroadcast(WorldObject *obj, WorldPacket *msg, float dist)
-{
- Trinity::MessageDistDeliverer post_man(obj, msg, dist);
- VisitWorld(obj->GetPositionX(), obj->GetPositionY(), dist, post_man);
-}
-
bool Map::loaded(const GridPair &p) const
{
return ( getNGrid(p.x_coord, p.y_coord) && isGridObjectDataLoaded(p.x_coord, p.y_coord) );