Core: Droped faction_H field -- only one faction table is necessary
This commit is contained in:
1 parent
a1e8cad703
commit
c536305e3a
14 files changed
+139
-156
No files matched your search
@@ -532,7 +532,7 @@ void SmartAI::JustRespawned()
|
||||
mDespawnState = 0;
|
||||
mEscortState = SMART_ESCORT_NONE;
|
||||
me->SetVisible(true);
|
||||
if (me->getFaction() != me->GetCreatureTemplate()->faction_A)
|
||||
if (me->getFaction() != me->GetCreatureTemplate()->faction)
|
||||
me->RestoreFaction();
|
||||
GetScript()->ProcessEventsFor(SMART_EVENT_RESPAWN);
|
||||
mJustReset = true;
|
||||
|
||||
Reference in new issue
Block a user