Core/Gameobject: Set artkit once in GameObject::Create

This commit is contained in:
kaelima
2012-05-09 13:52:31 +02:00
parent cb36825a3a
commit 1fec4a5af2
@@ -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)
{