aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Examples
diff options
context:
space:
mode:
authorclick <click@gonnamakeyou.com>2011-07-02 23:58:05 +0200
committerclick <click@gonnamakeyou.com>2011-07-02 23:58:05 +0200
commitdb045c40adba23ae54674351466e81cc2a7cb117 (patch)
tree17f89e62dff9ba20712ca0e3b36d62f6860490ee /src/server/scripts/Examples
parentf676585cac5b8b51cfc23bbda669164ad4374f33 (diff)
Core: Cleaning up hungarian notation - Phase5: pKiller -> killer
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);
}