aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland/nagrand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/Outland/nagrand.cpp')
-rw-r--r--src/server/scripts/Outland/nagrand.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/server/scripts/Outland/nagrand.cpp b/src/server/scripts/Outland/nagrand.cpp
index 4d2091d71b1..40d40b15a58 100644
--- a/src/server/scripts/Outland/nagrand.cpp
+++ b/src/server/scripts/Outland/nagrand.cpp
@@ -676,17 +676,17 @@ public:
}
}
- void JustSummoned(Creature* pSummoned)
+ void JustSummoned(Creature* summoned)
{
- if (pSummoned->GetEntry() == NPC_MURK_BRUTE)
- DoScriptText(SAY_MAG_NO_ESCAPE, pSummoned);
+ if (summoned->GetEntry() == NPC_MURK_BRUTE)
+ DoScriptText(SAY_MAG_NO_ESCAPE, summoned);
- if (pSummoned->isTotem())
+ if (summoned->isTotem())
return;
- pSummoned->RemoveUnitMovementFlag(MOVEMENTFLAG_WALKING);
- pSummoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
- pSummoned->AI()->AttackStart(me);
+ summoned->RemoveUnitMovementFlag(MOVEMENTFLAG_WALKING);
+ summoned->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
+ summoned->AI()->AttackStart(me);
}