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
@@ -165,8 +165,8 @@ void FollowerAI::JustRespawned()
|
||||
if (!IsCombatMovementAllowed())
|
||||
SetCombatMovement(true);
|
||||
|
||||
if (me->getFaction() != me->GetCreatureTemplate()->faction_A)
|
||||
me->setFaction(me->GetCreatureTemplate()->faction_A);
|
||||
if (me->getFaction() != me->GetCreatureTemplate()->faction)
|
||||
me->setFaction(me->GetCreatureTemplate()->faction);
|
||||
|
||||
Reset();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user