From f676585cac5b8b51cfc23bbda669164ad4374f33 Mon Sep 17 00:00:00 2001 From: click Date: Sat, 2 Jul 2011 23:53:38 +0200 Subject: Core: Cleaning up hungarian notation - Phase5: pWho -> who --- src/server/scripts/EasternKingdoms/westfall.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/server/scripts/EasternKingdoms/westfall.cpp') diff --git a/src/server/scripts/EasternKingdoms/westfall.cpp b/src/server/scripts/EasternKingdoms/westfall.cpp index 777384bf13d..a8c98e4d632 100644 --- a/src/server/scripts/EasternKingdoms/westfall.cpp +++ b/src/server/scripts/EasternKingdoms/westfall.cpp @@ -149,18 +149,18 @@ public: } } - void AttackStart(Unit* pWho) + void AttackStart(Unit* who) { - if (!pWho) + if (!who) return; - if (me->Attack(pWho, false)) + if (me->Attack(who, false)) { - me->AddThreat(pWho, 0.0f); - me->SetInCombatWith(pWho); - pWho->SetInCombatWith(me); + me->AddThreat(who, 0.0f); + me->SetInCombatWith(who); + who->SetInCombatWith(me); - me->GetMotionMaster()->MoveChase(pWho, 30.0f); + me->GetMotionMaster()->MoveChase(who, 30.0f); } } -- cgit v1.2.3