Fix: restore outer else-SPELL_UNKNOWN branch in BuffFadeBySlot

Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-09 19:30:30 +00:00
parent 0056345a81
commit c10eeb0c16

View File

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