mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-19 12:42:26 +00:00
Merge pull request #43 from Valorith/copilot/sub-pr-39-yet-again
Fix: Void function return type error in BuffFadeBySlot
This commit is contained in:
commit
4faf48a7fd
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user