From 0254a05fec4f3f424bf9a1b974c02d7c2287acbc Mon Sep 17 00:00:00 2001 From: evil-at-wow Date: Sun, 10 Dec 2023 01:03:19 +0100 Subject: [PATCH] Kalimdor scripts: add missing breaks. This fixes an issue where the Tethyr encounter seems to have started in Theramore (the number of remaining archers is shown erroneously ingame) after Omen has been spawned in Moonglade. Also fix a few similar missing breaks. --- src/game/AI/ScriptDevAI/scripts/kalimdor/world_kalimdor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/AI/ScriptDevAI/scripts/kalimdor/world_kalimdor.cpp b/src/game/AI/ScriptDevAI/scripts/kalimdor/world_kalimdor.cpp index 600ac0f66a..5c435f7867 100644 --- a/src/game/AI/ScriptDevAI/scripts/kalimdor/world_kalimdor.cpp +++ b/src/game/AI/ScriptDevAI/scripts/kalimdor/world_kalimdor.cpp @@ -401,6 +401,7 @@ struct world_map_kalimdor : public ScriptedMap m_uiOmenResetTimer = 5 * MINUTE * IN_MILLISECONDS; // Prevent another summoning of Omen for 5 minutes (based on spell duration) break; } + break; } case TYPE_TETHYR: { @@ -421,6 +422,7 @@ struct world_map_kalimdor : public ScriptedMap instance->SetZoneWeather(0, AREAID_THERAMORE_ISLE, 3, 0.5f); break; } + break; } case TYPE_HIVE: { @@ -438,6 +440,7 @@ struct world_map_kalimdor : public ScriptedMap if (m_freedSpriteDarter >= 6) uiData = DONE; } + break; } case TYPE_GONG_TIME: // TODO: Handle initial first gong only