mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-24 15:40:28 -04:00
Core/Objects: Initialize position data and zone/instance script for all worldobject types (except player)
This commit is contained in:
@@ -119,6 +119,9 @@ bool SceneObject::Create(ObjectGuid::LowType lowGuid, SceneType type, uint32 sce
|
||||
Object::_Create(ObjectGuid::Create<HighGuid::SceneObject>(GetMapId(), sceneId, lowGuid));
|
||||
PhasingHandler::InheritPhaseShift(this, creator);
|
||||
|
||||
UpdatePositionData();
|
||||
SetZoneScript();
|
||||
|
||||
SetEntry(scriptPackageId);
|
||||
SetObjectScale(1.0f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user