aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Entities/GameObject
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2012-05-26 23:00:54 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2012-05-26 23:14:57 +0200
commitab77e597b179c864c6c2f992dfd1486245df0090 (patch)
tree50e1e6656747a4160dda5965126203fa592bb6d9 /src/server/game/Entities/GameObject
parent593774f9c5adcf0bc6f6eb5a4e580dd8d630d34c (diff)
Add function for SetObjectScale
Author: NoFantasy Source: Mangos
Diffstat (limited to 'src/server/game/Entities/GameObject')
-rwxr-xr-xsrc/server/game/Entities/GameObject/GameObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp
index 10136c5fbd7..2f6c15ff829 100755
--- a/src/server/game/Entities/GameObject/GameObject.cpp
+++ b/src/server/game/Entities/GameObject/GameObject.cpp
@@ -206,7 +206,7 @@ bool GameObject::Create(uint32 guidlow, uint32 name_id, Map* map, uint32 phaseMa
UpdateRotationFields(rotation2, rotation3); // GAMEOBJECT_FACING, GAMEOBJECT_ROTATION, GAMEOBJECT_PARENTROTATION+2/3
- SetFloatValue(OBJECT_FIELD_SCALE_X, goinfo->size);
+ SetObjectScale(goinfo->size);
SetUInt32Value(GAMEOBJECT_FACTION, goinfo->faction);
SetUInt32Value(GAMEOBJECT_FLAGS, goinfo->flags);