diff options
| author | jackpoz <giacomopoz@gmail.com> | 2014-05-20 21:21:33 +0200 |
|---|---|---|
| committer | jackpoz <giacomopoz@gmail.com> | 2014-05-20 21:21:33 +0200 |
| commit | 1083dbb993f1e227472891cda109098671d7eae2 (patch) | |
| tree | 14823385047c6f42a7ae432643a60bb2835f50c9 /src/server/scripts/EasternKingdoms/AlteracValley | |
| parent | d36ecbf4a39ed4d1b434a2926609b1d0d7b3c645 (diff) | |
Core/Misc: Remove Unit::Get* wrappers for ObjectAccessor::Get*
Diffstat (limited to 'src/server/scripts/EasternKingdoms/AlteracValley')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp b/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp index 354e1204a50..47e91cac63d 100644 --- a/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp +++ b/src/server/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp @@ -82,7 +82,7 @@ public: // check if creature is not outside of building if (resetTimer < diff) { - if (Creature* pBalinda = Unit::GetCreature(*me, balindaGUID)) + if (Creature* pBalinda = ObjectAccessor::GetCreature(*me, balindaGUID)) if (me->GetDistance2d(pBalinda->GetHomePosition().GetPositionX(), pBalinda->GetHomePosition().GetPositionY()) > 50) EnterEvadeMode(); resetTimer = 5 * IN_MILLISECONDS; |
