[11381] Add methods GetDisplayId/SetDisplayId for gameobjects

Useful for GO type 33
This commit is contained in:
zergtmn 2011-04-19 17:01:29 +06:00
parent 820a3c0eff
commit 55709e265e
5 changed files with 19 additions and 10 deletions

View file

@ -178,7 +178,7 @@ bool Transport::Create(uint32 guidlow, uint32 mapid, float x, float y, float z,
SetUInt32Value(GAMEOBJECT_LEVEL, m_period);
SetEntry(goinfo->id);
SetUInt32Value(GAMEOBJECT_DISPLAYID, goinfo->displayId);
SetDisplayId(goinfo->displayId);
SetGoState(GO_STATE_READY);
SetGoType(GameobjectTypes(goinfo->type));