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
@@ -339,18 +339,18 @@ public:
pInstance->SetData(DATA_MAULGAREVENT, NOT_STARTED);
}
void AttackStart(Unit* pWho)
void AttackStart(Unit* who)
{
if (!pWho)
if (!who)
return;
if (me->Attack(pWho, true))
if (me->Attack(who, true))
{
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);
}
}