Core/Gameobject: Set artkit once in GameObject::Create
This commit is contained in:
@@ -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
|
// GAMEOBJECT_BYTES_1, index at 0, 1, 2 and 3
|
||||||
SetGoType(GameobjectTypes(goinfo->type));
|
SetGoType(GameobjectTypes(goinfo->type));
|
||||||
SetGoState(go_state);
|
SetGoState(go_state);
|
||||||
|
SetGoArtKit(artKit);
|
||||||
SetGoArtKit(0); // unknown what this is
|
|
||||||
SetByteValue(GAMEOBJECT_BYTES_1, 2, artKit);
|
|
||||||
|
|
||||||
switch (goinfo->type)
|
switch (goinfo->type)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user