diff options
| author | MitchesD <majklprofik@seznam.cz> | 2015-09-02 22:58:04 +0200 |
|---|---|---|
| committer | MitchesD <majklprofik@seznam.cz> | 2015-09-02 22:58:04 +0200 |
| commit | 61256f5f8dd12f56ddd7b7dd12fe181f40452090 (patch) | |
| tree | bb6a2eded9f9e529084da4739036ed176caf8c4d /src/server/game/Handlers/SpellHandler.cpp | |
| parent | 191d2c7262d3680776579055a063a433add54277 (diff) | |
Core/Spell: don't interrupt spells with attribute SPELL_ATTR8_RAID_MARKER
* needed for example when creating heirlooms from collection (or when upgrading)
Diffstat (limited to 'src/server/game/Handlers/SpellHandler.cpp')
| -rw-r--r-- | src/server/game/Handlers/SpellHandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Handlers/SpellHandler.cpp b/src/server/game/Handlers/SpellHandler.cpp index ce6abe2fdd5..ec0b40422e0 100644 --- a/src/server/game/Handlers/SpellHandler.cpp +++ b/src/server/game/Handlers/SpellHandler.cpp @@ -278,7 +278,7 @@ void WorldSession::HandleCastSpellOpcode(WorldPackets::Spells::CastSpell& cast) } // check known spell or raid marker spell (which not requires player to know it) - if (caster->GetTypeId() == TYPEID_PLAYER && !caster->ToPlayer()->HasActiveSpell(spellInfo->Id) && !spellInfo->HasEffect(SPELL_EFFECT_CHANGE_RAID_MARKER)) + if (caster->GetTypeId() == TYPEID_PLAYER && !caster->ToPlayer()->HasActiveSpell(spellInfo->Id) && !spellInfo->HasEffect(SPELL_EFFECT_CHANGE_RAID_MARKER) && !spellInfo->HasAttribute(SPELL_ATTR8_RAID_MARKER)) return; // Check possible spell cast overrides |
