diff options
author | megamage <none@none> | 2009-04-30 22:58:08 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-30 22:58:08 -0500 |
commit | 570b148264b041a30e0b3ca453df0eacbe5bf4a4 (patch) | |
tree | 1b427d3214cb7adf7ea4ebd368e9162b195d032a /src | |
parent | d44d827200e596564f26c2a5c5b418a9fd3cffb2 (diff) |
*Change the radius of dynamic object to normal. I cannot see any bug by myself using normal radius.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/DynamicObject.cpp | 2 | ||||
-rw-r--r-- | src/game/SpellEffects.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/game/DynamicObject.cpp b/src/game/DynamicObject.cpp index 801626d5a9b..82076f734f2 100644 --- a/src/game/DynamicObject.cpp +++ b/src/game/DynamicObject.cpp @@ -81,7 +81,7 @@ bool DynamicObject::Create( uint32 guidlow, Unit *caster, uint32 spellId, uint32 SetUInt64Value( DYNAMICOBJECT_CASTER, caster->GetGUID() ); SetUInt32Value( DYNAMICOBJECT_BYTES, 0x00000001 ); SetUInt32Value( DYNAMICOBJECT_SPELLID, spellId ); - SetFloatValue( DYNAMICOBJECT_RADIUS, radius * 2); + SetFloatValue( DYNAMICOBJECT_RADIUS, radius); SetFloatValue( DYNAMICOBJECT_POS_X, x ); SetFloatValue( DYNAMICOBJECT_POS_Y, y ); SetFloatValue( DYNAMICOBJECT_POS_Z, z ); diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index c38f46d867b..37f1dc0a083 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2650,7 +2650,6 @@ void Spell::EffectPersistentAA(uint32 i) return; } dynObj->SetUInt32Value(OBJECT_FIELD_TYPE, 65); - dynObj->SetUInt32Value(GAMEOBJECT_DISPLAYID, 368003); dynObj->SetUInt32Value(DYNAMICOBJECT_BYTES, 0x01eeeeee); caster->AddDynObject(dynObj); dynObj->GetMap()->Add(dynObj); |