Fix compilation error: change return false to return in void function

Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-01-31 04:23:15 +00:00
parent 57edda7535
commit 7129acc3b0

View File

@ -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]) {