aboutsummaryrefslogtreecommitdiff
path: root/src/game/DynamicObject.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-25 15:48:54 -0600
committermegamage <none@none>2009-03-25 15:48:54 -0600
commit435570903a8eee6e9d81dd3e871aace1eb3cd73e (patch)
tree2e6e93d84a2d7e5e276050ec271604e37af2b3f4 /src/game/DynamicObject.cpp
parentfe08615d17c5d6830d7a622818002a7517df6311 (diff)
*Fix dynamic object radius. Backported from TC2.
--HG-- branch : trunk
Diffstat (limited to 'src/game/DynamicObject.cpp')
-rw-r--r--src/game/DynamicObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/DynamicObject.cpp b/src/game/DynamicObject.cpp
index fd3e16e79d7..fddac254272 100644
--- a/src/game/DynamicObject.cpp
+++ b/src/game/DynamicObject.cpp
@@ -75,7 +75,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);
+ SetFloatValue( DYNAMICOBJECT_RADIUS, radius * 2);
SetFloatValue( DYNAMICOBJECT_POS_X, x );
SetFloatValue( DYNAMICOBJECT_POS_Y, y );
SetFloatValue( DYNAMICOBJECT_POS_Z, z );