aboutsummaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-01 15:02:58 -0500
committermegamage <none@none>2009-06-01 15:02:58 -0500
commit999b49201a61f0ca86fbe84be58d462a0dc80461 (patch)
tree082de208272d57f5a6be417681209b9be31066d6 /src/game
parent9cadc5d1476e6aa3253d5f581cc1ef0fabb04a61 (diff)
parentdd9939942413318c773ad126492e7731fe17a7b7 (diff)
*Merge. (spell parts skipped)
--HG-- branch : trunk
Diffstat (limited to 'src/game')
-rw-r--r--src/game/Object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Object.h b/src/game/Object.h
index 50533e4a509..0e08247aece 100644
--- a/src/game/Object.h
+++ b/src/game/Object.h
@@ -431,7 +431,7 @@ class TRINITY_DLL_SPEC WorldObject : public Object
float GetObjectSize() const
{
- return ( m_valuesCount > UNIT_FIELD_BOUNDINGRADIUS ) ? m_floatValues[UNIT_FIELD_BOUNDINGRADIUS] : DEFAULT_WORLD_OBJECT_SIZE;
+ return ( m_valuesCount > UNIT_FIELD_COMBATREACH ) ? m_floatValues[UNIT_FIELD_COMBATREACH] : DEFAULT_WORLD_OBJECT_SIZE;
}
bool IsPositionValid() const;
void UpdateGroundPositionZ(float x, float y, float &z) const;