Scripts/HoR: Some fixups.

This commit is contained in:
w1sht0l1v3 committed 2013-12-05 16:05:15 +02:00
1 parent c546dcbfd9
commit dc1d1a684a
1 file changed
+3 -3
@@ -187,7 +187,7 @@ public:
case GO_ARTHAS_DOOR:
_arthasDoorGUID = go->GetGUID();
go->SetFlag(GAMEOBJECT_FLAGS, GO_FLAG_INTERACT_COND);
if (GetBossState(DATA_FROSWORN_EVENT) == DONE)
if (GetData(DATA_FROSWORN_EVENT) == DONE)
HandleGameObject(0, true, go);
else
HandleGameObject(0, false, go);
@@ -514,13 +514,13 @@ public:
OUT_SAVE_INST_DATA;
std::ostringstream saveStream;
saveStream << "H R " << GetBossSaveData() << _introEvent << ' ' << _frostwornGeneral << _escapeevent;
saveStream << "H R " << GetBossSaveData() << _introEvent << ' ' << _frostwornGeneral << ' ' << _escapeevent;
OUT_SAVE_INST_DATA_COMPLETE;
return saveStream.str();
}
void Load(char const* in) OVERRIDE OVERRIDE
void Load(char const* in) OVERRIDE
{
if (!in)
{