TrinityCore/TrinityCore — pull request #5013 by PKX (2012-01-30 14:17:30+00:00)
Title: Core/Auras: Fix Pet & Totem aura stacking

Fixes aura staking for Pet, Totem and other spell effects that do not use SPELL_EFFECT_APPLY_AURA.

_RemoveNoStackAurasDueToAura is iterating over owned auras. This causes auras which are owned by a player and applied to other group/raid members (such as Blood Pact or Trueshot Aura) to stack with other auras in the same spell_group. It should iterate over applied auras instead.

Signed-off-by: PKX