Add function for SetObjectScale

Author: NoFantasy
Source: Mangos
This commit is contained in:
Vincent-Michael committed 2012-05-26 23:14:57 +02:00
1 parent 593774f9c5
commit ab77e597b1
24 files changed
+34 -32

No files matched your search

@@ -92,7 +92,7 @@ bool DynamicObject::CreateDynamicObject(uint32 guidlow, Unit* caster, uint32 spe
WorldObject::_Create(guidlow, HIGHGUID_DYNAMICOBJECT, caster->GetPhaseMask());
SetEntry(spellId);
SetFloatValue(OBJECT_FIELD_SCALE_X, 1);
SetObjectScale(1);
SetUInt64Value(DYNAMICOBJECT_CASTER, caster->GetGUID());
// The lower word of DYNAMICOBJECT_BYTES must be 0x0001. This value means that the visual radius will be overriden