aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/Examples')
-rw-r--r--src/server/scripts/Examples/example_creature.cpp10
-rw-r--r--src/server/scripts/Examples/example_escort.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/server/scripts/Examples/example_creature.cpp b/src/server/scripts/Examples/example_creature.cpp
index 11c94598267..221a5f2f4f7 100644
--- a/src/server/scripts/Examples/example_creature.cpp
+++ b/src/server/scripts/Examples/example_creature.cpp
@@ -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 ***
diff --git a/src/server/scripts/Examples/example_escort.cpp b/src/server/scripts/Examples/example_escort.cpp
index cfd5b90d7dc..1c0d97d60f3 100644
--- a/src/server/scripts/Examples/example_escort.cpp
+++ b/src/server/scripts/Examples/example_escort.cpp
@@ -98,7 +98,7 @@ class example_escort : public CreatureScript
}
}
- void EnterCombat(Unit* /*pWho*/)
+ void EnterCombat(Unit* /*who*/)
{
if (HasEscortState(STATE_ESCORT_ESCORTING))
{