diff options
author | megamage <none@none> | 2009-04-27 18:36:10 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-27 18:36:10 -0500 |
commit | 5ac67c27f71a7b53fbce92ffdab3adb62b6baf0c (patch) | |
tree | 3ca1dc67f90b8522f64b894c5000ac8facc3cf9c /src/game/Object.cpp | |
parent | f9c40474410c5d54e408f5074b2dee1ff329c0d5 (diff) |
[7715] Provided way for scripts set alternative gameobject state for client show. Author: VladimirMangos
Also use enum for gsmeobject states.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 0575ef6623a..1cab9d9b99c 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -1826,7 +1826,7 @@ GameObject* WorldObject::SummonGameObject(uint32 entry, float x, float y, float } Map *map = GetMap(); GameObject *go = new GameObject(); - if(!go->Create(objmgr.GenerateLowGuid(HIGHGUID_GAMEOBJECT), entry, map, GetPhaseMask(), x,y,z,ang,rotation0,rotation1,rotation2,rotation3,100,1)) + if(!go->Create(objmgr.GenerateLowGuid(HIGHGUID_GAMEOBJECT), entry, map, GetPhaseMask(), x,y,z,ang,rotation0,rotation1,rotation2,rotation3,100,GO_STATE_READY)) { delete go; return NULL; |