Core: Droped faction_H field -- only one faction table is necessary

This commit is contained in:
Kinzcool
2014-04-27 18:13:55 -04:00
parent a1e8cad703
commit c536305e3a
14 changed files with 139 additions and 156 deletions

View File

@@ -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();
}