diff options
author | Shauren <shauren.trinity@gmail.com> | 2013-06-11 17:28:16 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2013-06-11 17:28:16 +0200 |
commit | 9ec22fffa00135cd776afebe2899bf54fb52f15f (patch) | |
tree | 8435e279131052c9c50ec929868f3b698a194c3d /src/server/collision/Models/GameObjectModel.cpp | |
parent | ef15fe8ed28cb2d65574e8c5c755d39f8a06a994 (diff) |
Core/Objects: Object scale will now also affect bounding radius and combat reach fields
Diffstat (limited to 'src/server/collision/Models/GameObjectModel.cpp')
-rw-r--r-- | src/server/collision/Models/GameObjectModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/collision/Models/GameObjectModel.cpp b/src/server/collision/Models/GameObjectModel.cpp index e166a860cd2..9db3d706fca 100644 --- a/src/server/collision/Models/GameObjectModel.cpp +++ b/src/server/collision/Models/GameObjectModel.cpp @@ -139,7 +139,7 @@ bool GameObjectModel::initialize(const GameObject& go, const GameObjectDisplayIn if (Creature* c = const_cast<GameObject&>(go).SummonCreature(24440, pos.x, pos.y, pos.z, 0, TEMPSUMMON_MANUAL_DESPAWN)) { c->setFaction(35); - c->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.1f); + c->SetObjectScale(0.1f); } } #endif |