[11444] Replace some poo with good shit, improvements related to [11443]

Thanks Zergtmn!

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2011-05-08 19:20:35 +02:00
parent 4c3b61d4f5
commit b62c7f17f0
3 changed files with 3 additions and 3 deletions

View file

@ -5545,7 +5545,7 @@ SpellCastResult Spell::CheckCast(bool strict)
return SPELL_FAILED_BAD_TARGETS;
// It is assumed that target can not be cloned if already cloned by same or other clone auras
if (!pTarget->GetAurasByType(SPELL_AURA_MIRROR_IMAGE).empty())
if (pTarget->HasAuraType(SPELL_AURA_MIRROR_IMAGE))
return SPELL_FAILED_BAD_TARGETS;
break;