Core: Cleaning up hungarian notation - Phase3: pVictim -> victim
This commit is contained in:
@@ -61,10 +61,10 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
void SummonAdds(Unit* pVictim)
|
||||
void SummonAdds(Unit* victim)
|
||||
{
|
||||
if (Creature* Add = DoSpawnCreature(13456, float(irand(-7, 7)), float(irand(-7, 7)), 0, 0, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 90000))
|
||||
Add->AI()->AttackStart(pVictim);
|
||||
Add->AI()->AttackStart(victim);
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
|
||||
@@ -220,7 +220,7 @@ public:
|
||||
Summons.Despawn(summon);
|
||||
}
|
||||
|
||||
void KilledUnit(Unit* /*pVictim*/)
|
||||
void KilledUnit(Unit* /*victim*/)
|
||||
{
|
||||
DoScriptText(SAY_KILL, me);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user