Core/GameObject: Implement method GetDisplayId, use it for GameObjectModels

This commit is contained in:
Elron103 committed 2012-09-22 18:01:51 +02:00
1 parent 24d1a5a98e
commit d45a768810
2 files changed
+2 -1

No files matched your search

@@ -802,6 +802,7 @@ class GameObject : public WorldObject, public GridObject<GameObject>
std::string GetAIName() const;
void SetDisplayId(uint32 displayid);
uint32 GetDisplayId() const { return GetUInt32Value(GAMEOBJECT_DISPLAYID); }
GameObjectModel * m_model;
protected: