From ff7dbce6f28a4717e8ce0530d0f8b0c1bd91c4bb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 31 Jan 2026 04:24:44 +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 56f40c1d9..4b36eae47 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]; // Restore nimbus (visual aura) effect before processing individual spell effects, // mirroring Client::ReapplyBuff and bot buff restoration behavior.