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
@@ -324,14 +324,14 @@ public:
DoScriptText(SAY_AGGRO, me);
}
void JustSummoned(Creature* pSummoned)
void JustSummoned(Creature* summoned)
{
if (pSummoned->GetEntry() == CREATURE_PORTAL)
if (summoned->GetEntry() == CREATURE_PORTAL)
{
PortalGUID[PortalsCount] = pSummoned->GetGUID();
PortalGUID[PortalsCount] = summoned->GetGUID();
++PortalsCount;
if (pSummoned->GetUInt32Value(UNIT_CREATED_BY_SPELL) == SPELL_FIENDISH_PORTAL_1)
if (summoned->GetUInt32Value(UNIT_CREATED_BY_SPELL) == SPELL_FIENDISH_PORTAL_1)
{
DoScriptText(RAND(SAY_SUMMON1, SAY_SUMMON2), me);
SummonedPortals = true;