From bd9178368e770260051f5161f0094fbf81512c4f Mon Sep 17 00:00:00 2001 From: Yehonal Date: Tue, 5 Dec 2017 14:51:10 +0000 Subject: [PATCH] Fixed saving of icc buff switch --- .../Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp b/src/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp index d1adf13cd..b6d11e896 100644 --- a/src/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp +++ b/src/scripts/Northrend/IcecrownCitadel/instance_icecrown_citadel.cpp @@ -1548,7 +1548,8 @@ class instance_icecrown_citadel : public InstanceMapScript std::ostringstream saveStream; saveStream << "I C " << GetBossSaveData() << HeroicAttempts << ' ' << ColdflameJetsState << ' ' << BloodQuickeningState << ' ' << BloodQuickeningMinutes << ' ' << WeeklyQuestId10 << ' ' << PutricideEventProgress << ' ' - << uint32(LichKingHeroicAvailable ? 1 : 0) << ' ' << BloodPrinceTrashCount; + << uint32(LichKingHeroicAvailable ? 1 : 0) << ' ' << BloodPrinceTrashCount << ' ' << uint32(IsBuffAvailable ? 1 : 0); + OUT_SAVE_INST_DATA_COMPLETE; return saveStream.str(); @@ -1600,6 +1601,8 @@ class instance_icecrown_citadel : public InstanceMapScript loadStream >> temp; LichKingHeroicAvailable = temp ? true : false; loadStream >> BloodPrinceTrashCount; + loadStream >> temp; + SetData(DATA_BUFF_AVAILABLE, temp ? true : false); } else OUT_LOAD_INST_DATA_FAIL;