Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
commit
75a790ca47
326 files changed
+3311
-1522
No files matched your search
@@ -292,8 +292,6 @@ void MapManager::Update(uint32 diff)
|
||||
iter->second->DelayedUpdate(uint32(i_timer.GetCurrent()));
|
||||
|
||||
sObjectAccessor->Update(uint32(i_timer.GetCurrent()));
|
||||
for (TransportSet::iterator itr = m_Transports.begin(); itr != m_Transports.end(); ++itr)
|
||||
(*itr)->Update(uint32(i_timer.GetCurrent()));
|
||||
|
||||
i_timer.SetCurrent(0);
|
||||
}
|
||||
@@ -326,12 +324,6 @@ bool MapManager::IsValidMAP(uint32 mapid, bool startUp)
|
||||
|
||||
void MapManager::UnloadAll()
|
||||
{
|
||||
for (TransportSet::iterator i = m_Transports.begin(); i != m_Transports.end(); ++i)
|
||||
{
|
||||
(*i)->RemoveFromWorld();
|
||||
delete *i;
|
||||
}
|
||||
|
||||
for (MapMapType::iterator iter = i_maps.begin(); iter != i_maps.end();)
|
||||
{
|
||||
iter->second->UnloadAll();
|
||||
|
||||
Reference in new issue
Block a user