aboutsummaryrefslogtreecommitdiff
path: root/src/game/InstanceData.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-13 11:23:50 -0500
committermegamage <none@none>2009-06-13 11:23:50 -0500
commit0e6e4fff64d0d264bb77c2993db0691fc278215d (patch)
tree94e7edf55f885f5adde9394eb8064e9e86d1ecad /src/game/InstanceData.cpp
parentf304e31bf2100d239e75ac8166084c1661f0bb9e (diff)
*Fix the bug that door state of naxx is not loaded.
--HG-- branch : trunk
Diffstat (limited to 'src/game/InstanceData.cpp')
-rw-r--r--src/game/InstanceData.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/InstanceData.cpp b/src/game/InstanceData.cpp
index cca4d7ca786..d2b341b2d2c 100644
--- a/src/game/InstanceData.cpp
+++ b/src/game/InstanceData.cpp
@@ -125,6 +125,7 @@ void InstanceData::UpdateDoorState(GameObject *door)
}
door->SetGoState(open ? GO_STATE_ACTIVE : GO_STATE_READY);
+ //sLog.outError("Door %u is %s.", door->GetEntry(), open ? "opened" : "closed");
}
void InstanceData::AddDoor(GameObject *door, bool add)
@@ -190,6 +191,7 @@ bool InstanceData::SetBossState(uint32 id, EncounterState state)
if(bossInfo->state == TO_BE_DECIDED) // loading
{
bossInfo->state = state;
+ //sLog.outError("Inialize boss %u state as %u.", id, (uint32)state);
return false;
}
else