Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
boxa committed Feb 6, 2017
1 parent 28de1cf commit 81563c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game/Creature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2136,9 +2136,9 @@ bool Creature::MeetsSelectAttackingRequirement(Unit* pTarget, SpellEntry const*

if (pSpellInfo)
{
if (selectFlags)
if (selectFlags & (SELECT_FLAG_HAS_AURA | SELECT_FLAG_NOT_AURA))
{
if (selectFlags & (SELECT_FLAG_HAS_AURA | SELECT_FLAG_NOT_AURA))
if (selectFlags & SELECT_FLAG_HAS_AURA)
{
if (!pTarget->HasAura(pSpellInfo->Id))
return false;
Expand Down

0 comments on commit 81563c4

Please sign in to comment.