Scripts/HoR: Some fixups.
This commit is contained in:
1 parent
c546dcbfd9
commit
dc1d1a684a
1 file changed
+3
-3
+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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user