diff options
author | megamage <none@none> | 2009-03-29 17:15:37 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-29 17:15:37 -0600 |
commit | e3da95f16a63cd014ded2ddbd588e1bda106936c (patch) | |
tree | 9baee09676df0d8545efa46e7f3a1c0802fc9086 /src/game/Map.h | |
parent | 43a08cdfa04baf18abe0a0bde507a2287ec7b551 (diff) |
[7578] Replace generic [7577] implememtaion by more explicit code. Author: VladimirMangos
This must restore build at Unix/Linux.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.h')
-rw-r--r-- | src/game/Map.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/game/Map.h b/src/game/Map.h index 853f8e7ed9c..83cb1009669 100644 --- a/src/game/Map.h +++ b/src/game/Map.h @@ -396,22 +396,6 @@ class TRINITY_DLL_SPEC Map : public GridRefManager<NGridType>, public Trinity::O void SendToPlayers(WorldPacket const* data) const; - /*template<class Do> - void BroadcastWorker(Do& _do) const - { - for(MapRefManager::const_iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr) - _do(itr->getSource()); - } - - template<class Do> - void BroadcastWorker(Do& _do, uint32 zoneid) const - { - for(MapRefManager::const_iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr) - if(itr->getSource()->GetZoneId()==zoneid) - _do(itr->getSource()); - }*/ - - typedef MapRefManager PlayerList; PlayerList const& GetPlayers() const { return m_mapRefManager; } |