[8461] Correcting buildUpdateValues for GAMEOBJECT_DYNAMIC flag.

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
Opterman 2009-09-04 00:51:26 +02:00 committed by NoFantasy
parent 62501d2e02
commit 26a104a05a
3 changed files with 18 additions and 9 deletions

View file

@ -150,9 +150,10 @@ bool GameObject::Create(uint32 guidlow, uint32 name_id, Map *map, uint32 phaseMa
SetUInt32Value(GAMEOBJECT_DISPLAYID, goinfo->displayId);
// GAMEOBJECT_BYTES_1, index at 0, 1, 2 and 3
SetGoState(go_state);
SetGoType(GameobjectTypes(goinfo->type));
SetGoArtKit(0); // unknown what this is
SetGoAnimProgress(animprogress);
//Notify the map's instance data.