aboutsummaryrefslogtreecommitdiff
path: root/src/game/DynamicObject.cpp
diff options
context:
space:
mode:
authorBroodWyrm <none@none>2009-05-01 09:45:51 +0200
committerBroodWyrm <none@none>2009-05-01 09:45:51 +0200
commitdb977d7005d0982ab672cfa0c7758b0d480b06b2 (patch)
tree7594076355436651090a07f4c62e11f728cdbe5b /src/game/DynamicObject.cpp
parent94e896ebd6aaf4cf0be661fa8250ad90d89f9b5c (diff)
parent85fbe3ada2bf9fd08acb97e40e2dddefc6e38e0a (diff)
*Merge.
--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 d294886619c..8969e4dfe04 100644
--- a/src/game/DynamicObject.cpp
+++ b/src/game/DynamicObject.cpp
@@ -88,7 +88,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); //diameter?
+ SetFloatValue( DYNAMICOBJECT_RADIUS, radius);
SetFloatValue( DYNAMICOBJECT_POS_X, x );
SetFloatValue( DYNAMICOBJECT_POS_Y, y );
SetFloatValue( DYNAMICOBJECT_POS_Z, z );