From 1aff85f541240714b80177bc8c2ee68c1814ad39 Mon Sep 17 00:00:00 2001 From: click Date: Sun, 3 Jul 2011 00:28:03 +0200 Subject: Core: Cleaning up hungarian notation - Phase8: pSummon -> summon (also did related hits) --- src/server/scripts/Outland/nagrand.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/server/scripts/Outland/nagrand.cpp') 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); } -- cgit v1.2.3