Core: Cleaning up hungarian notation - Phase3: pVictim -> victim

This commit is contained in:
click committed 2011-07-02 23:50:02 +02:00
1 parent 5cafed655a
commit f997363c08
16 files changed
+46 -46

No files matched your search

+2 -2
View File
@@ -227,8 +227,8 @@ public:
void HandleEffectPeriodic(AuraEffect const* /*aurEff*/)
{
Unit* target = GetTarget();
Unit* pVictim = target->getVictim();
if (pVictim && (target->GetHealthPct() > pVictim->GetHealthPct()))
Unit* victim = target->getVictim();
if (victim && (target->GetHealthPct() > victim->GetHealthPct()))
{
if (!target->HasAura(ROGUE_SPELL_PREY_ON_THE_WEAK))
{