diff options
author | megamage <none@none> | 2008-12-26 15:55:12 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-26 15:55:12 -0600 |
commit | 032de9a49108b2df6ee01c92c7de2557e4eb6136 (patch) | |
tree | 847f27fdbec0f74a7bc00a74d6c83c92279f0423 /src/game/Unit.cpp | |
parent | c58a199db80fd3d24075582d239f782416c78de1 (diff) |
*Update IsAOE function.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index a079964ce3e..010c5a4d8c4 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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; } |