aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/AlteracValley
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2014-05-20 21:21:33 +0200
committerjackpoz <giacomopoz@gmail.com>2014-05-20 21:21:33 +0200
commit1083dbb993f1e227472891cda109098671d7eae2 (patch)
tree14823385047c6f42a7ae432643a60bb2835f50c9 /src/server/scripts/EasternKingdoms/AlteracValley
parentd36ecbf4a39ed4d1b434a2926609b1d0d7b3c645 (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.cpp2
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;