Core: Cleaning up hungarian notation - Phase5: pWho -> who

This commit is contained in:
click
2011-07-02 23:53:38 +02:00
parent f997363c08
commit f676585cac
62 changed files with 326 additions and 326 deletions
@@ -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)