[HotFix] Clearing target window on CHARM wear off had a side effect (#3570)

* [HotFix] Clearing target window on CHARM wear off had a side effect

* erroneous change removed
This commit is contained in:
Paul Coene 2023-08-21 18:16:22 -04:00 committed by GitHub
parent 2b4cd292e4
commit d857fb3c48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1611,7 +1611,7 @@ void EntityList::QueueClientsByTarget(Mob *sender, const EQApplicationPacket *ap
TargetsTarget = Target->GetTarget();
bool Send = clear_target_window;
bool Send = false;
if (c == SkipThisMob)
continue;
@ -1623,6 +1623,7 @@ void EntityList::QueueClientsByTarget(Mob *sender, const EQApplicationPacket *ap
if (c != sender) {
if (Target == sender) {
if (inspect_buffs) { // if inspect_buffs is true we're sending a mob's buffs to those with the LAA
Send = clear_target_window;
if (c->GetGM() || RuleB(Spells, AlwaysSendTargetsBuffs)) {
Send = !clear_target_window;
} else if (c->IsRaidGrouped()) {