Core: Cleaning up hungarian notation - Phase5: pKiller -> killer

This commit is contained in:
click
2011-07-02 23:58:05 +02:00
parent f676585cac
commit db045c40ad
46 changed files with 101 additions and 101 deletions

View File

@@ -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);
}