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_escort.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Examples/example_escort.cpp b/src/server/scripts/Examples/example_escort.cpp
index 1c0d97d60f3..5dba76a61ae 100644
--- a/src/server/scripts/Examples/example_escort.cpp
+++ b/src/server/scripts/Examples/example_escort.cpp
@@ -115,14 +115,14 @@ class example_escort : public CreatureScript
m_uiChatTimer = 4000;
}
- void JustDied(Unit* pKiller)
+ void JustDied(Unit* killer)
{
if (HasEscortState(STATE_ESCORT_ESCORTING))
{
if (Player* player = GetPlayerForEscort())
{
// not a likely case, code here for the sake of example
- if (pKiller == me)
+ if (killer == me)
{
DoScriptText(SAY_DEATH_1, me, player);
}