Core/WorldObject: Properly initialize position data for all types when initially creating them. Fixes some issues with PvP objectives not having the correct area ID set on initialization.
Port From (https://github.com/TrinityCore/TrinityCore/commit/e6be53d1417e733f0916ff305960cfac3e2ca551)
This commit is contained in:
@@ -194,6 +194,8 @@ namespace Game.Entities
|
||||
return false;
|
||||
}
|
||||
|
||||
UpdatePositionData();
|
||||
|
||||
SetZoneScript();
|
||||
if (m_zoneScript != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user