mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 18:07:16 +00:00
Fixed potential crash related to Pets/Mercs buffs when targeting themselves.
This commit is contained in:
1 parent
1619324d06
commit
45ff2cddb7
3 files changed
+5
-2
No files matched your search
@@ -4161,7 +4161,7 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses)
|
||||
EQApplicationPacket *outapp = MakeBuffsPacket();
|
||||
|
||||
entity_list.QueueClientsByTarget(this, outapp, false, nullptr, true, false, BIT_SoDAndLater);
|
||||
if(GetTarget() == this) {
|
||||
if(IsClient() && GetTarget() == this) {
|
||||
CastToClient()->QueuePacket(outapp);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user