aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-28 19:43:04 -0600
committermegamage <none@none>2009-03-28 19:43:04 -0600
commit6e438e38ec365f5bd3d17b6e3341b854a7b5cc4e (patch)
tree7aec2b2310cf25dda0653b45f3ae5bbd5b564662
parent829c8022ace2ab5e31c346ec7fea2d0a9847f95b (diff)
*Temp fix build in linux.
--HG-- branch : trunk
-rw-r--r--src/game/Map.h4
-rw-r--r--src/game/Object.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/game/Map.h b/src/game/Map.h
index 77ddd7258a3..853f8e7ed9c 100644
--- a/src/game/Map.h
+++ b/src/game/Map.h
@@ -396,7 +396,7 @@ class TRINITY_DLL_SPEC Map : public GridRefManager<NGridType>, public Trinity::O
void SendToPlayers(WorldPacket const* data) const;
- template<class Do>
+ /*template<class Do>
void BroadcastWorker(Do& _do) const
{
for(MapRefManager::const_iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr)
@@ -409,7 +409,7 @@ class TRINITY_DLL_SPEC Map : public GridRefManager<NGridType>, public Trinity::O
for(MapRefManager::const_iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr)
if(itr->getSource()->GetZoneId()==zoneid)
_do(itr->getSource());
- }
+ }*/
typedef MapRefManager PlayerList;
diff --git a/src/game/Object.cpp b/src/game/Object.cpp
index 2907c043602..79c3ebba369 100644
--- a/src/game/Object.cpp
+++ b/src/game/Object.cpp
@@ -1518,9 +1518,9 @@ void WorldObject::MonsterYell(int32 textId, uint32 language, uint64 TargetGuid)
void WorldObject::MonsterYellToZone(int32 textId, uint32 language, uint64 TargetGuid)
{
- MaNGOS::MonsterChatBuilder say_build(*this, CHAT_MSG_MONSTER_YELL, textId,language,TargetGuid);
- MaNGOS::LocalizedPacketDo<MaNGOS::MonsterChatBuilder> say_do(say_build);
- GetMap()->BroadcastWorker(say_do,GetZoneId());
+ //MaNGOS::MonsterChatBuilder say_build(*this, CHAT_MSG_MONSTER_YELL, textId,language,TargetGuid);
+ //MaNGOS::LocalizedPacketDo<MaNGOS::MonsterChatBuilder> say_do(say_build);
+ //GetMap()->BroadcastWorker(say_do,GetZoneId());
}
void WorldObject::MonsterTextEmote(int32 textId, uint64 TargetGuid, bool IsBossEmote)