mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 13:22:48 +01:00
Core/AreaTriggers: Added SpawnDifficulties for spawned areatriggers (#29284)
This commit is contained in:
@@ -145,7 +145,7 @@ void ObjectGridLoader::Visit(CreatureMapType &m)
|
||||
void ObjectGridLoader::Visit(AreaTriggerMapType& m)
|
||||
{
|
||||
CellCoord cellCoord = i_cell.GetCellCoord();
|
||||
CellGuidSet const* areaTriggers = sAreaTriggerDataStore->GetAreaTriggersForMapAndCell(i_map->GetId(), cellCoord.GetId());
|
||||
CellGuidSet const* areaTriggers = sAreaTriggerDataStore->GetAreaTriggersForMapAndCell(i_map->GetId(), i_map->GetDifficultyID(), cellCoord.GetId());
|
||||
if (areaTriggers)
|
||||
LoadHelper(*areaTriggers, cellCoord, m, i_areaTriggers, i_map);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user