*Temp fix build in linux.
--HG-- branch : trunk
This commit is contained in:
+2
-2
@@ -396,7 +396,7 @@ class TRINITY_DLL_SPEC Map : public GridRefManager<NGridType>, public Trinity::O
|
|||||||
|
|
||||||
void SendToPlayers(WorldPacket const* data) const;
|
void SendToPlayers(WorldPacket const* data) const;
|
||||||
|
|
||||||
template<class Do>
|
/*template<class Do>
|
||||||
void BroadcastWorker(Do& _do) const
|
void BroadcastWorker(Do& _do) const
|
||||||
{
|
{
|
||||||
for(MapRefManager::const_iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr)
|
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)
|
for(MapRefManager::const_iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr)
|
||||||
if(itr->getSource()->GetZoneId()==zoneid)
|
if(itr->getSource()->GetZoneId()==zoneid)
|
||||||
_do(itr->getSource());
|
_do(itr->getSource());
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
typedef MapRefManager PlayerList;
|
typedef MapRefManager PlayerList;
|
||||||
|
|||||||
+3
-3
@@ -1518,9 +1518,9 @@ void WorldObject::MonsterYell(int32 textId, uint32 language, uint64 TargetGuid)
|
|||||||
|
|
||||||
void WorldObject::MonsterYellToZone(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::MonsterChatBuilder say_build(*this, CHAT_MSG_MONSTER_YELL, textId,language,TargetGuid);
|
||||||
MaNGOS::LocalizedPacketDo<MaNGOS::MonsterChatBuilder> say_do(say_build);
|
//MaNGOS::LocalizedPacketDo<MaNGOS::MonsterChatBuilder> say_do(say_build);
|
||||||
GetMap()->BroadcastWorker(say_do,GetZoneId());
|
//GetMap()->BroadcastWorker(say_do,GetZoneId());
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldObject::MonsterTextEmote(int32 textId, uint64 TargetGuid, bool IsBossEmote)
|
void WorldObject::MonsterTextEmote(int32 textId, uint64 TargetGuid, bool IsBossEmote)
|
||||||
|
|||||||
Reference in New Issue
Block a user