From c10eeb0c16f989a5bfcbb2d6b4daf9a396b0505f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Mar 2026 19:30:30 +0000 Subject: [PATCH] Fix: restore outer else-SPELL_UNKNOWN branch in BuffFadeBySlot Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- zone/spell_effects.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index 868903f67..d3d0ee397 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -4850,9 +4850,9 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses, bool suppress, uint32 su } ReapplyBuffEffects(slot, true); } - } else { - buffs[slot].spellid = SPELL_UNKNOWN; } + } else { + buffs[slot].spellid = SPELL_UNKNOWN; } if(IsPet() && GetOwner() && GetOwner()->IsClient()) {