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
@@ -360,19 +360,19 @@ public:
}
}
void MoveInLineOfSight(Unit* pWho)
void MoveInLineOfSight(Unit* who)
{
if (HasEscortState(STATE_ESCORT_ESCORTING))
return;
if (pWho->GetTypeId() == TYPEID_PLAYER)
if (who->GetTypeId() == TYPEID_PLAYER)
{
if (CAST_PLR(pWho)->GetQuestStatus(10211) == QUEST_STATUS_INCOMPLETE)
if (CAST_PLR(who)->GetQuestStatus(10211) == QUEST_STATUS_INCOMPLETE)
{
float Radius = 10.0;
if (me->IsWithinDistInMap(pWho, Radius))
if (me->IsWithinDistInMap(who, Radius))
{
Start(false, false, pWho->GetGUID());
Start(false, false, who->GetGUID());
}
}
}