aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrudor <erikstrandberg93@hotmail.com>2017-03-25 17:54:19 +0100
committerAokromes <Aokromes@users.noreply.github.com>2017-03-25 17:54:19 +0100
commitd45f535d30657140f8c0548b88438e07fb292102 (patch)
tree2dd0b39b5277c8e1a402f4c4f2db55c438d3f9c3
parentdf56f33a79b1ea749a859c701ee1a1454d3c4222 (diff)
Update boss state load logic
Reset boss state to NOT_STARTED if state loads as FAIL
-rw-r--r--src/server/game/Instances/InstanceScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Instances/InstanceScript.cpp b/src/server/game/Instances/InstanceScript.cpp
index 3bb88c0e850..c554bac3aee 100644
--- a/src/server/game/Instances/InstanceScript.cpp
+++ b/src/server/game/Instances/InstanceScript.cpp
@@ -398,7 +398,7 @@ void InstanceScript::ReadSaveDataBossStates(std::istringstream& data)
{
uint32 buff;
data >> buff;
- if (buff == IN_PROGRESS || buff == SPECIAL)
+ if (buff == IN_PROGRESS || buff == FAIL || buff == SPECIAL)
buff = NOT_STARTED;
if (buff < TO_BE_DECIDED)