Core/Entites: Updated GUID format
This commit is contained in:
@@ -91,10 +91,11 @@ bool DynamicObject::CreateDynamicObject(ObjectGuid::LowType guidlow, Unit* caste
|
||||
return false;
|
||||
}
|
||||
|
||||
WorldObject::_Create(guidlow, HighGuid::DynamicObject, caster->GetPhaseMask());
|
||||
WorldObject::_Create(ObjectGuid::Create<HighGuid::DynamicObject>(GetMapId(), spell->Id, guidlow));
|
||||
SetPhaseMask(caster->GetPhaseMask(), false);
|
||||
|
||||
SetEntry(spell->Id);
|
||||
SetObjectScale(1);
|
||||
SetObjectScale(1.0f);
|
||||
SetGuidValue(DYNAMICOBJECT_CASTER, caster->GetGUID());
|
||||
SetUInt32Value(DYNAMICOBJECT_BYTES, spell->SpellVisual[0] | (type << 28));
|
||||
SetUInt32Value(DYNAMICOBJECT_SPELLID, spell->Id);
|
||||
|
||||
Reference in New Issue
Block a user