Add function for SetObjectScale

Author: NoFantasy
Source: Mangos
This commit is contained in:
Vincent-Michael
2012-05-26 23:14:57 +02:00
parent 593774f9c5
commit ab77e597b1
24 changed files with 34 additions and 32 deletions
@@ -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