diff options
| author | megamage <none@none> | 2009-05-16 15:28:58 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-16 15:28:58 -0500 |
| commit | a5df3c9e72191d732554eed860790859363bebf4 (patch) | |
| tree | ad07d604eab9205f68c1e1d11f9135bff4b8c5b6 /src | |
| parent | 09407c8757f26c3585efa7d3cc5874bd3be90ebe (diff) | |
*Do not allow positive AOE affect totem.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Spell.h | 2 |
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; |
