Core/Misc: camelize GetFaction/SetFaction properly

This commit is contained in:
Aokromes committed 2017-05-02 02:02:31 +02:00
1 parent 0245a73ff6
commit c015a5cf10
122 files changed
+353 -353

No files matched your search

+1 -1
View File
@@ -581,7 +581,7 @@ void SmartAI::JustRespawned()
mDespawnState = 0;
mEscortState = SMART_ESCORT_NONE;
me->SetVisible(true);
if (me->getFaction() != me->GetCreatureTemplate()->faction)
if (me->GetFaction() != me->GetCreatureTemplate()->faction)
me->RestoreFaction();
mJustReset = true;
JustReachedHome();