*Update IsAOE function.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-12-26 15:55:12 -06:00
parent c58a199db8
commit 032de9a491
5 changed files with 39 additions and 33 deletions

View File

@@ -12243,7 +12243,7 @@ uint32 Unit::GetCastingTimeForBonus( SpellEntry const *spellProto, DamageEffectT
break;
}
if(IsAreaEffectTarget(Targets(spellProto->EffectImplicitTargetA[i])) || IsAreaEffectTarget(Targets(spellProto->EffectImplicitTargetB[i])))
if(IsAreaEffectTarget[spellProto->EffectImplicitTargetA[i]] || IsAreaEffectTarget[spellProto->EffectImplicitTargetB[i]])
AreaEffect = true;
}