Core: More Function Renaming.

This commit is contained in:
Malcrom
2013-06-11 21:25:12 -02:30
parent 66978cfc3b
commit ec474a62e5
143 changed files with 542 additions and 542 deletions
+3 -3
View File
@@ -226,7 +226,7 @@ void SmartAI::EndPath(bool fail)
{
for (GroupReference* groupRef = group->GetFirstMember(); groupRef != NULL; groupRef = groupRef->next())
{
Player* groupGuy = groupRef->getSource();
Player* groupGuy = groupRef->GetSource();
if (!fail && groupGuy->IsAtGroupRewardDistance(me) && !groupGuy->GetCorpse())
groupGuy->AreaExploredOrEventHappens(mEscortQuestID);
@@ -390,7 +390,7 @@ bool SmartAI::IsEscortInvokerInRange()
{
for (GroupReference* groupRef = group->GetFirstMember(); groupRef != NULL; groupRef = groupRef->next())
{
Player* groupGuy = groupRef->getSource();
Player* groupGuy = groupRef->GetSource();
if (me->GetDistance(groupGuy) <= SMART_ESCORT_MAX_PLAYER_DIST)
return true;
@@ -490,7 +490,7 @@ void SmartAI::MoveInLineOfSight(Unit* who)
if (!CanAIAttack(who))
return;
if (!me->canStartAttack(who, false))
if (!me->CanStartAttack(who, false))
return;
if (me->IsHostileTo(who))