Core/Entities: Do not create the model twice for a GameObject.

Should fix #5218 (Still need to check)
This commit is contained in:
trickerer
2012-10-07 19:42:06 -05:00
committed by Subv
parent 4dc28e9420
commit 0f166336ca

View File

@@ -217,7 +217,6 @@ bool GameObject::Create(uint32 guidlow, uint32 name_id, Map* map, uint32 phaseMa
SetDisplayId(goinfo->displayId);
m_model = GameObjectModel::Create(*this);
// GAMEOBJECT_BYTES_1, index at 0, 1, 2 and 3
SetGoType(GameobjectTypes(goinfo->type));
SetGoState(go_state);