aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-02 11:28:11 -0500
committermegamage <none@none>2009-05-02 11:28:11 -0500
commitf303ee08c5888170ad1509b89413af1e2a321f5c (patch)
treee3494740526e056204d2c5c4f9d6f0c0444603e1 /src/game/Unit.cpp
parenta102098eb2f76ab1e49497c5ebbb8e6359c8b964 (diff)
*Update spell selection.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
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;
}