mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-03 14:12:27 +00:00
Fix: Change return false to return in void function BuffFadeBySlot
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
55aed50cfe
commit
28e30dfeec
@ -4691,7 +4691,7 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses, bool suppress, uint32 su
|
|||||||
} else {
|
} else {
|
||||||
// Reapply visual/state effects for non-client mobs (pets, NPCs, bots)
|
// Reapply visual/state effects for non-client mobs (pets, NPCs, bots)
|
||||||
if (!IsValidSpell(buffs[slot].spellid))
|
if (!IsValidSpell(buffs[slot].spellid))
|
||||||
return false;
|
return;
|
||||||
const auto& spell = spells[buffs[slot].spellid];
|
const auto& spell = spells[buffs[slot].spellid];
|
||||||
// Restore nimbus (visual aura) effect before processing individual spell effects,
|
// Restore nimbus (visual aura) effect before processing individual spell effects,
|
||||||
// mirroring Client::ReapplyBuff and bot buff restoration behavior.
|
// mirroring Client::ReapplyBuff and bot buff restoration behavior.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user