mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
*Wintergrasp: Force Defender Faction on Turret creation, by Spp
--HG-- branch : trunk
This commit is contained in:
@@ -494,6 +494,9 @@ void OPvPWintergrasp::OnCreatureCreate(Creature *creature, bool add)
|
||||
}
|
||||
}
|
||||
break;
|
||||
case CREATURE_TURRET:
|
||||
creature->setFaction(WintergraspFaction[m_defender]);
|
||||
break;
|
||||
default:
|
||||
if (m_creEntryPair.find(entry) != m_creEntryPair.end()) // guards and npc
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user