aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKrudor <erikstrandberg93@hotmail.com>2017-03-25 17:54:19 +0100
committerAokromes <aokromes@gmail.com>2017-04-17 12:51:01 +0200
commit374ef5b55745e8e1bb69f02f7cc127cc0b36c304 (patch)
tree41887e038b00113fffadd5125a239272532247c6 /src
parent8b52cf902bf98a05197efa4e96ddd6188eb1a178 (diff)
Update boss state load logic
Reset boss state to NOT_STARTED if state loads as FAIL
Diffstat (limited to 'src')
-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 19e87711f71..c66e1b3d5e8 100644
--- a/src/server/game/Instances/InstanceScript.cpp
+++ b/src/server/game/Instances/InstanceScript.cpp
@@ -373,7 +373,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)