aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Spell.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Spell.h b/src/game/Spell.h
index 694bcf11277..083bb338371 100644
--- a/src/game/Spell.h
+++ b/src/game/Spell.h
@@ -691,6 +691,8 @@ namespace Trinity
}
break;
case SPELL_TARGETS_ALLY:
+ if(target->GetTypeId() == TYPEID_UNIT && ((Creature*)target)->isTotem())
+ continue;
if(!target->isAttackableByAOE() || !i_source->IsFriendlyTo(target))
continue;
break;