mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 04:32:35 -04:00
Core: Cleaning up hungarian notation - Phase5: pWho -> who
This commit is contained in:
@@ -121,18 +121,18 @@ class example_creature : public CreatureScript
|
||||
|
||||
// *** HANDLED FUNCTION ***
|
||||
// Enter Combat called once per combat
|
||||
void EnterCombat(Unit* pWho)
|
||||
void EnterCombat(Unit* who)
|
||||
{
|
||||
//Say some stuff
|
||||
DoScriptText(SAY_AGGRO, me, pWho);
|
||||
DoScriptText(SAY_AGGRO, me, who);
|
||||
}
|
||||
|
||||
// *** HANDLED FUNCTION ***
|
||||
// Attack Start is called when victim change (including at start of combat)
|
||||
// By default, attack pWho and start movement toward the victim.
|
||||
//void AttackStart(Unit* pWho)
|
||||
// By default, attack who and start movement toward the victim.
|
||||
//void AttackStart(Unit* who)
|
||||
//{
|
||||
// ScriptedAI::AttackStart(pWho);
|
||||
// ScriptedAI::AttackStart(who);
|
||||
//}
|
||||
|
||||
// *** HANDLED FUNCTION ***
|
||||
|
||||
Reference in New Issue
Block a user