Core: Cleaning up hungarian notation - Phase8: pSummon -> summon (also did related hits)

This commit is contained in:
click
2011-07-03 00:28:03 +02:00
parent 354e5e2bbc
commit 1aff85f541
52 changed files with 289 additions and 289 deletions
@@ -253,18 +253,18 @@ public:
}
}
void JustSummoned(Creature* pSummoned)
void JustSummoned(Creature* summoned)
{
if (Player* player = GetPlayerForEscort())
{
pSummoned->AI()->AttackStart(player);
summoned->AI()->AttackStart(player);
}
if (pSummoned->GetEntry() == NPC_HIGH_INQUISITOR_VALROTH)
m_uiValrothGUID = pSummoned->GetGUID();
if (summoned->GetEntry() == NPC_HIGH_INQUISITOR_VALROTH)
m_uiValrothGUID = summoned->GetGUID();
pSummoned->AddThreat(me, 0.0f);
pSummoned->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
summoned->AddThreat(me, 0.0f);
summoned->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
}
void SummonAcolyte(uint32 uiAmount)