aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Level3.cpp')
-rw-r--r--src/game/Level3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp
index 1253faf03a0..0b5923f3f19 100644
--- a/src/game/Level3.cpp
+++ b/src/game/Level3.cpp
@@ -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;
}