Skip to content

Commit

Permalink
Threat: Fix 3 year old bug with suppression during suppression due to…
Browse files Browse the repository at this point in the history
… wrong orientation of check
  • Loading branch information
killerwife committed Aug 11, 2021
1 parent ae1ebff commit 0da5589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Combat/HostileRefManager.cpp
Expand Up @@ -239,7 +239,7 @@ void HostileRefManager::HandleSuppressed(bool apply, bool immunity)
HostileReference& ref = static_cast<HostileReference&>(data);
Unit* source = ref.getSource()->getOwner();
Unit* target = ref.getTarget();
if (!target->IsSuppressedTarget(source))
if (!source->IsSuppressedTarget(target))
{
ref.SetSuppressabilityToggle();
continue;
Expand Down

0 comments on commit 0da5589

Please sign in to comment.