Core/Player: Allow graveyards to be specified for areas, not only zones

Closes #14089
Closes #18006
This commit is contained in:
JaredNinja
2016-09-27 08:38:47 +02:00
committed by Shauren
parent f17471e9d1
commit 9c220e8f55
2 changed files with 3 additions and 6 deletions
@@ -0,0 +1,3 @@
-- Changing subzone 6170 (Northshire, Elwynn). Was zone 12 before, not right.
-- Part of my total fix for graveyard problems (https://github.com/TrinityCore/TrinityCore/issues/14089)
UPDATE `graveyard_zone` SET `GhostZone`= 6170 WHERE `ID`= 105 AND `Faction`= 469;
-6
View File
@@ -5997,12 +5997,6 @@ void ObjectMgr::LoadGraveyardZones()
continue;
}
if (areaEntry->ParentAreaID != 0)
{
TC_LOG_ERROR("sql.sql", "Table `graveyard_zone` has a record for SubZone (ID: %u) instead of zone, skipped.", zoneId);
continue;
}
if (team != 0 && team != HORDE && team != ALLIANCE)
{
TC_LOG_ERROR("sql.sql", "Table `graveyard_zone` has a record for non player faction (%u), skipped.", team);