Core/Objects: Initialize position data and zone/instance script for all worldobject types (except player)
This commit is contained in:
@@ -94,6 +94,9 @@ bool DynamicObject::CreateDynamicObject(ObjectGuid::LowType guidlow, Unit* caste
|
||||
WorldObject::_Create(ObjectGuid::Create<HighGuid::DynamicObject>(GetMapId(), spell->Id, guidlow));
|
||||
PhasingHandler::InheritPhaseShift(this, caster);
|
||||
|
||||
UpdatePositionData();
|
||||
SetZoneScript();
|
||||
|
||||
SetEntry(spell->Id);
|
||||
SetObjectScale(1.0f);
|
||||
auto dynamicObjectData = m_values.ModifyValue(&DynamicObject::m_dynamicObjectData);
|
||||
|
||||
Reference in New Issue
Block a user