aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Outland/nagrand.cpp
diff options
context:
space:
mode:
authorclick <click@gonnamakeyou.com>2011-07-03 00:28:03 +0200
committerclick <click@gonnamakeyou.com>2011-07-03 00:28:03 +0200
commit1aff85f541240714b80177bc8c2ee68c1814ad39 (patch)
tree9d8ddc159b1ce803089309da0b427303b724aa7a /src/server/scripts/Outland/nagrand.cpp
parent354e5e2bbcd6719a63686601f79a78001d90cb35 (diff)
Core: Cleaning up hungarian notation - Phase8: pSummon -> summon (also did related hits)
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);
}