diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/ObjectAccessor.cpp | 32 | ||||
-rw-r--r-- | src/shared/revision_nr.h | 2 |
2 files changed, 1 insertions, 33 deletions
diff --git a/src/game/ObjectAccessor.cpp b/src/game/ObjectAccessor.cpp index e7006b38dce..2d133cc575a 100644 --- a/src/game/ObjectAccessor.cpp +++ b/src/game/ObjectAccessor.cpp @@ -46,38 +46,6 @@ INSTANTIATE_SINGLETON_2(ObjectAccessor, CLASS_LOCK); INSTANTIATE_CLASS_MUTEX(ObjectAccessor, ZThread::FastMutex); -namespace Trinity -{ - struct TRINITY_DLL_DECL BuildUpdateForPlayer - { - Player &i_player; - UpdateDataMapType &i_updatePlayers; - - BuildUpdateForPlayer(Player &player, UpdateDataMapType &data_map) : i_player(player), i_updatePlayers(data_map) {} - - void Visit(PlayerMapType &m) - { - for(PlayerMapType::iterator iter=m.begin(); iter != m.end(); ++iter) - { - if( iter->getSource() == &i_player ) - continue; - - UpdateDataMapType::iterator iter2 = i_updatePlayers.find(iter->getSource()); - if( iter2 == i_updatePlayers.end() ) - { - std::pair<UpdateDataMapType::iterator, bool> p = i_updatePlayers.insert( ObjectAccessor::UpdateDataValueType(iter->getSource(), UpdateData()) ); - assert(p.second); - iter2 = p.first; - } - - i_player.BuildValuesUpdateBlockForPlayer(&iter2->second, iter2->first); - } - } - - template<class SKIP> void Visit(GridRefManager<SKIP> &) {} - }; -} - ObjectAccessor::ObjectAccessor() {} ObjectAccessor::~ObjectAccessor() {} diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 58e2b026a3b..8953a4ce688 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7223" + #define REVISION_NR "7224" #endif // __REVISION_NR_H__ |