aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/SunwellPlateau
diff options
context:
space:
mode:
authorjoschiwald <joschiwald@online.de>2013-08-18 01:41:10 +0200
committerjoschiwald <joschiwald@online.de>2013-08-18 01:41:10 +0200
commit2b19ba1879cbdb121abe99f8d1060628a0c7243f (patch)
treee50c7a58d55ea5e5caa6469d80aa2f8569e94fab /src/server/scripts/EasternKingdoms/SunwellPlateau
parentc32dbd1432b28206fee430da7e9f77d6053730fc (diff)
Misc: replace Unit::GetPlayer with ObjectAccessor::GetPlayer and some cosmetic changes
Diffstat (limited to 'src/server/scripts/EasternKingdoms/SunwellPlateau')
-rw-r--r--src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp
index aa53790ee5f..c3d00ddba53 100644
--- a/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp
+++ b/src/server/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp
@@ -410,7 +410,7 @@ public:
void JustSummoned(Creature* summoned) OVERRIDE
{
if (instance)
- if (Player* Target = Unit::GetPlayer(*me, instance->GetData64(DATA_PLAYER_GUID)))
+ if (Player* Target = ObjectAccessor::GetPlayer(*me, instance->GetData64(DATA_PLAYER_GUID)))
summoned->AI()->AttackStart(Target);
Summons.Summon(summoned);