Prevent Racial leaders PvP dropping due to faction rules

This commit is contained in:
Olion 2017-06-25 01:02:18 +03:00 committed by Antz
parent 09f2a1f64d
commit ef7fa1acde

View File

@ -456,7 +456,8 @@ bool Creature::UpdateEntry(uint32 Entry, Team team, const CreatureData* data /*=
if (factionTemplate->factionFlags & FACTION_TEMPLATE_FLAG_PVP)
SetPvP(true);
else
SetPvP(false);
if (!IsRacialLeader())
SetPvP(false);
}
// Try difficulty dependend version before falling back to base entry