[7715] Provided way for scripts set alternative gameobject state for client show. Author: VladimirMangos

Also use enum for gsmeobject states.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-04-27 18:36:10 -05:00
1 parent f9c4047441
commit 5ac67c27f7
43 files changed
+168 -149

No files matched your search

+1 -1
View File
@@ -3043,7 +3043,7 @@ bool ChatHandler::HandleGameObjectStateCommand(const char* args)
if(state < 0)
gobj->SendObjectDeSpawnAnim(gobj->GetGUID());
else
gobj->SetGoState(state);
gobj->SetGoState((GOState)state);
return true;
}