Core: Cleaning up hungarian notation - Phase2: pPlayer -> player
This commit is contained in:
1 parent
f91ee24184
commit
169f5da8c3
134 files changed
+4039
-4039
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user