From 7129acc3b01d613e69412c72d8f3b288fba1825e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 31 Jan 2026 04:23:15 +0000 Subject: [PATCH] Fix compilation error: change return false to return in void function Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com> --- zone/spell_effects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index f202adb19..c6b80b229 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -4691,7 +4691,7 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses, bool suppress, uint32 su } else { // Reapply visual/state effects for non-client mobs (pets, NPCs, bots) if (!IsValidSpell(buffs[slot].spellid)) - return false; + return; const auto& spell = spells[buffs[slot].spellid]; for (int i = 0; i < EFFECT_COUNT; i++) { switch (spell.effect_id[i]) {