aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkaelima <kaelima@live.se>2012-05-09 13:52:31 +0200
committerkaelima <kaelima@live.se>2012-05-09 13:52:31 +0200
commit1fec4a5af240699758330fa4be0108ba00003878 (patch)
treeeaaf15e00451d5a8916434c5f13000f1c5cfec5f /src
parentcb36825a3abd268470c6c6d70386ae6269ff3d8e (diff)
Core/Gameobject: Set artkit once in GameObject::Create
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Entities/GameObject/GameObject.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp
index f58dd6b2e4d..e871f99b38c 100755
--- a/src/server/game/Entities/GameObject/GameObject.cpp
+++ b/src/server/game/Entities/GameObject/GameObject.cpp
@@ -222,9 +222,7 @@ bool GameObject::Create(uint32 guidlow, uint32 name_id, Map* map, uint32 phaseMa
// GAMEOBJECT_BYTES_1, index at 0, 1, 2 and 3
SetGoType(GameobjectTypes(goinfo->type));
SetGoState(go_state);
-
- SetGoArtKit(0); // unknown what this is
- SetByteValue(GAMEOBJECT_BYTES_1, 2, artKit);
+ SetGoArtKit(artKit);
switch (goinfo->type)
{