Core/Misc: camelize GetFaction/SetFaction properly

This commit is contained in:
ariel-
2017-04-28 02:24:04 -03:00
parent 5a3a9381e4
commit 4c4dca6d69
130 changed files with 356 additions and 356 deletions
@@ -163,8 +163,8 @@ void FollowerAI::JustRespawned()
if (!IsCombatMovementAllowed())
SetCombatMovement(true);
if (me->getFaction() != me->GetCreatureTemplate()->faction)
me->setFaction(me->GetCreatureTemplate()->faction);
if (me->GetFaction() != me->GetCreatureTemplate()->faction)
me->SetFaction(me->GetCreatureTemplate()->faction);
Reset();
}
@@ -300,7 +300,7 @@ void FollowerAI::StartFollow(Player* player, uint32 factionForFollower, const Qu
m_uiLeaderGUID = player->GetGUID();
if (factionForFollower)
me->setFaction(factionForFollower);
me->SetFaction(factionForFollower);
m_pQuestForFollow = quest;