Core: Cleaning up hungarian notation - Phase2: pPlayer -> player

This commit is contained in:
click committed 2011-07-02 22:52:42 +02:00
1 parent f91ee24184
commit 169f5da8c3
134 files changed
+4039 -4039

No files matched your search

+2 -2
View File
@@ -381,10 +381,10 @@ public:
void HandleUpdatePeriodic(AuraEffect * aurEff)
{
Unit* pTarget = GetUnitOwner();
if (Player* pPlayerTarget = pTarget->ToPlayer())
if (Player* playerTarget = pTarget->ToPlayer())
{
int32 baseAmount = aurEff->GetBaseAmount();
int32 amount = pPlayerTarget->isMoving() ?
int32 amount = playerTarget->isMoving() ?
pTarget->CalculateSpellDamage(pTarget, GetSpellProto(), aurEff->GetEffIndex(), &baseAmount) :
aurEff->GetAmount() - 1;
aurEff->SetAmount(amount);