mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-19 12:21:34 +00:00
[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:
parent
2b4cd292e4
commit
d857fb3c48
@ -1611,7 +1611,7 @@ void EntityList::QueueClientsByTarget(Mob *sender, const EQApplicationPacket *ap
|
|||||||
|
|
||||||
TargetsTarget = Target->GetTarget();
|
TargetsTarget = Target->GetTarget();
|
||||||
|
|
||||||
bool Send = clear_target_window;
|
bool Send = false;
|
||||||
|
|
||||||
if (c == SkipThisMob)
|
if (c == SkipThisMob)
|
||||||
continue;
|
continue;
|
||||||
@ -1623,6 +1623,7 @@ void EntityList::QueueClientsByTarget(Mob *sender, const EQApplicationPacket *ap
|
|||||||
if (c != sender) {
|
if (c != sender) {
|
||||||
if (Target == sender) {
|
if (Target == sender) {
|
||||||
if (inspect_buffs) { // if inspect_buffs is true we're sending a mob's buffs to those with the LAA
|
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)) {
|
if (c->GetGM() || RuleB(Spells, AlwaysSendTargetsBuffs)) {
|
||||||
Send = !clear_target_window;
|
Send = !clear_target_window;
|
||||||
} else if (c->IsRaidGrouped()) {
|
} else if (c->IsRaidGrouped()) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user