Core/GameObjects: Updated gameobject template structure to 9.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/364f6eec9a4d6d044666a172a2823161e0e3a418)
This commit is contained in:
@@ -124,8 +124,8 @@ namespace Game.Entities
|
||||
|
||||
var area = CliDB.AreaTableStorage.LookupByKey(m_areaId);
|
||||
if (area != null)
|
||||
if (area.Id != 0)
|
||||
m_zoneId = area.Id;
|
||||
if (area.ParentAreaID != 0)
|
||||
m_zoneId = area.ParentAreaID;
|
||||
|
||||
m_staticFloorZ = data.FloorZ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user