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/ScarletEnclave/chapter2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/server/scripts/EasternKingdoms/ScarletEnclave') diff --git a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp index ba1a3d18eee..c8b3224a0a8 100644 --- a/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp +++ b/src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp @@ -657,13 +657,13 @@ public: return false; } - void MoveInLineOfSight(Unit* pWho) + void MoveInLineOfSight(Unit* who) { - if (PlayerGUID || pWho->GetTypeId() != TYPEID_PLAYER || !pWho->IsWithinDist(me, INTERACTION_DISTANCE)) + if (PlayerGUID || who->GetTypeId() != TYPEID_PLAYER || !who->IsWithinDist(me, INTERACTION_DISTANCE)) return; - if (MeetQuestCondition(pWho)) - PlayerGUID = pWho->GetGUID(); + if (MeetQuestCondition(who)) + PlayerGUID = who->GetGUID(); } void UpdateAI(const uint32 diff) -- cgit v1.2.3