Build fix try

This commit is contained in:
Aokromes committed 2016-09-05 01:16:11 +02:00
1 parent d21a28b5cc
commit 7978d15854
2 files changed
+1 -2

No files matched your search

@@ -607,7 +607,7 @@ void BattlefieldTB::SendInitWorldStatesToAll()
// Tol Barad
for (uint8 team = 0; team < 2; team++)
for (GuidSet::iterator itr = m_players[team].begin(); itr != m_players[team].end(); ++itr)
for (auto itr = m_players[team].begin(); itr != m_players[team].end(); ++itr)
if (Player* player = ObjectAccessor::FindPlayer(*itr))
SendInitWorldStatesTo(player);
@@ -544,7 +544,6 @@ bool BattlefieldWG::SetupBattlefield()
m_GraveyardList[i] = graveyard;
}
Workshops.resize(WG_MAX_WORKSHOP);
// Spawn workshop creatures and gameobjects
for (uint8 i = 0; i < WG_MAX_WORKSHOP; i++)