Fix broken-compile introduced in b0c70f4380
This commit is contained in:
@@ -143,8 +143,8 @@ void BattlegroundDS::StartingEventOpenDoors()
|
|||||||
// Remove effects of Demonic Circle Summon
|
// Remove effects of Demonic Circle Summon
|
||||||
for (BattlegroundPlayerMap::const_iterator itr = GetPlayers().begin(); itr != GetPlayers().end(); ++itr)
|
for (BattlegroundPlayerMap::const_iterator itr = GetPlayers().begin(); itr != GetPlayers().end(); ++itr)
|
||||||
if (Player* player = ObjectAccessor::FindPlayer(itr->first))
|
if (Player* player = ObjectAccessor::FindPlayer(itr->first))
|
||||||
if (itr->HasAura(48018))
|
if (player->HasAura(48018))
|
||||||
itr->RemoveAurasDueToSpell(48018);
|
player->RemoveAurasDueToSpell(48018);
|
||||||
}
|
}
|
||||||
|
|
||||||
void BattlegroundDS::AddPlayer(Player* player)
|
void BattlegroundDS::AddPlayer(Player* player)
|
||||||
|
|||||||
Reference in New Issue
Block a user