Core: Cleaning up hungarian notation - Phase3: pVictim -> victim
This commit is contained in:
@@ -115,7 +115,7 @@ public:
|
||||
me->CallForHelp(VISIBLE_RANGE);
|
||||
}
|
||||
|
||||
void KilledUnit(Unit* /*pVictim*/)
|
||||
void KilledUnit(Unit* /*victim*/)
|
||||
{
|
||||
DoScriptText(SAY_MO_KILL, me);
|
||||
}
|
||||
@@ -273,7 +273,7 @@ public:
|
||||
DoScriptText(SAY_WH_INTRO, me);
|
||||
}
|
||||
|
||||
void KilledUnit(Unit* /*pVictim*/)
|
||||
void KilledUnit(Unit* /*victim*/)
|
||||
{
|
||||
DoScriptText(SAY_WH_KILL, me);
|
||||
}
|
||||
|
||||
@@ -73,11 +73,11 @@ public:
|
||||
pInstance->SetData(TYPE_NERUB, IN_PROGRESS);
|
||||
}
|
||||
|
||||
void RaiseUndeadScarab(Unit* pVictim)
|
||||
void RaiseUndeadScarab(Unit* victim)
|
||||
{
|
||||
if (Creature* pUndeadScarab = DoSpawnCreature(10876, float(irand(-9, 9)), float(irand(-9, 9)), 0, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 180000))
|
||||
if (pUndeadScarab->AI())
|
||||
pUndeadScarab->AI()->AttackStart(pVictim);
|
||||
pUndeadScarab->AI()->AttackStart(victim);
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
|
||||
@@ -76,10 +76,10 @@ public:
|
||||
DoCast(me, SPELL_CAPTURESOUL);
|
||||
}
|
||||
|
||||
void SummonHounds(Unit* pVictim)
|
||||
void SummonHounds(Unit* victim)
|
||||
{
|
||||
if (Creature* Hound = DoSpawnCreature(19207, float(irand(-9, 9)), float(irand(-9, 9)), 0, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 300000))
|
||||
Hound->AI()->AttackStart(pVictim);
|
||||
Hound->AI()->AttackStart(victim);
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
|
||||
Reference in New Issue
Block a user