refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708)
This commit is contained in:
parent
3396a9da87
commit
f106de8788
129 changed files with 418 additions and 444 deletions
|
|
@ -729,7 +729,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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue