diff options
author | megamage <none@none> | 2009-05-02 11:28:11 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-02 11:28:11 -0500 |
commit | f303ee08c5888170ad1509b89413af1e2a321f5c (patch) | |
tree | e3494740526e056204d2c5c4f9d6f0c0444603e1 /src/game/Unit.cpp | |
parent | a102098eb2f76ab1e49497c5ebbb8e6359c8b964 (diff) |
*Update spell selection.
--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 b87ba3c19fc..c9769cf89f2 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -11064,7 +11064,7 @@ void CharmInfo::InitCharmCreateSpells() if(!spellInfo) onlyselfcast = false; for(uint32 i = 0;i<3 && onlyselfcast;++i) //non existent spell will not make any problems as onlyselfcast would be false -> break right away { - if(spellInfo->EffectImplicitTargetA[i] != TARGET_SELF && spellInfo->EffectImplicitTargetA[i] != 0) + if(spellInfo->EffectImplicitTargetA[i] != TARGET_UNIT_CASTER && spellInfo->EffectImplicitTargetA[i] != 0) onlyselfcast = false; } |