diff options
| author | click <click@gonnamakeyou.com> | 2011-07-02 23:53:38 +0200 |
|---|---|---|
| committer | click <click@gonnamakeyou.com> | 2011-07-02 23:53:38 +0200 |
| commit | f676585cac5b8b51cfc23bbda669164ad4374f33 (patch) | |
| tree | 3afbb7ca335723420185afa3b21b5a179196beb4 /src/server/scripts/EasternKingdoms/ScarletEnclave | |
| parent | f997363c08ad472d4f30375b46b8dfb6ac9cfbb8 (diff) | |
Core: Cleaning up hungarian notation - Phase5: pWho -> who
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ScarletEnclave')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/ScarletEnclave/chapter2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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) |
