aboutsummaryrefslogtreecommitdiff
path: root/src/game/InstanceData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/InstanceData.cpp')
-rw-r--r--src/game/InstanceData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/InstanceData.cpp b/src/game/InstanceData.cpp
index 58a5c9d855d..785cea8f38c 100644
--- a/src/game/InstanceData.cpp
+++ b/src/game/InstanceData.cpp
@@ -35,7 +35,7 @@ void InstanceData::HandleGameObject(uint64 GUID, bool open, GameObject *go)
if(!go)
go = instance->GetGameObject(GUID);
if(go)
- go->SetGoState(open ? 0 : 1);
+ go->SetGoState(open ? GO_STATE_ACTIVE : GO_STATE_READY);
else
debug_log("TSCR: InstanceData: HandleGameObject failed");
}