Core/Objects: Initialize position data and zone/instance script for all worldobject types (except player)

This commit is contained in:
Shauren
2022-04-23 23:03:22 +02:00
parent 372c84e998
commit fddd6cdf3f
6 changed files with 18 additions and 0 deletions
@@ -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);