diff options
author | Souler <soulerhyd@gmail.com> | 2012-03-05 00:47:59 +0100 |
---|---|---|
committer | Souler <soulerhyd@gmail.com> | 2012-03-05 00:47:59 +0100 |
commit | 4b11d67d31bc1851e9029c78ee65fc864e0fa8bf (patch) | |
tree | 33725488662b78c24220f1668c343b413d8723ef | |
parent | b0c70f4380fe6c3c5f7857310c63c60c05c2f851 (diff) |
Fix broken-compile introduced in b0c70f4380fe6c3c5f7857310c63c60c05c2f851
-rw-r--r-- | src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp index 065b08b60be..8a11edf85e6 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp @@ -143,8 +143,8 @@ void BattlegroundDS::StartingEventOpenDoors() // Remove effects of Demonic Circle Summon for (BattlegroundPlayerMap::const_iterator itr = GetPlayers().begin(); itr != GetPlayers().end(); ++itr) if (Player* player = ObjectAccessor::FindPlayer(itr->first)) - if (itr->HasAura(48018)) - itr->RemoveAurasDueToSpell(48018); + if (player->HasAura(48018)) + player->RemoveAurasDueToSpell(48018); } void BattlegroundDS::AddPlayer(Player* player) |