diff options
author | Rat <gmstreetrat@gmail.com> | 2014-11-24 18:57:49 +0100 |
---|---|---|
committer | Rat <gmstreetrat@gmail.com> | 2014-11-24 18:57:49 +0100 |
commit | 2144d6c85159ad1e8529ef8e8ee1476e947fca92 (patch) | |
tree | 75f88bd9e73e4e860d4d2e6608e078341844ae7d /src/server/game/Handlers/SpellHandler.cpp | |
parent | 42fa46a11d7ee09054fa3e759307e2a7318b4d71 (diff) |
Core/Spells: core now builds without scripts project, still not stable
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 05f600e1207..0e243064cc2 100644 --- a/src/server/game/Handlers/SpellHandler.cpp +++ b/src/server/game/Handlers/SpellHandler.cpp @@ -485,7 +485,7 @@ void WorldSession::HandleCancelAuraOpcode(WorldPacket& recvPacket) _player->RemoveOwnedAura(spellId, ObjectGuid::Empty, 0, AURA_REMOVE_BY_CANCEL); // If spell being removed is a resource tracker, see if player was tracking both (herbs / minerals) and remove the other - if (sWorld->getBoolConfig(CONFIG_ALLOW_TRACK_BOTH_RESOURCES) && spellInfo->HasAura(SPELL_AURA_TRACK_RESOURCES)) + if (sWorld->getBoolConfig(CONFIG_ALLOW_TRACK_BOTH_RESOURCES) && spellInfo->HasAura(DIFFICULTY_NONE, SPELL_AURA_TRACK_RESOURCES)) { Unit::AuraEffectList const& auraEffects = _player->GetAuraEffectsByType(SPELL_AURA_TRACK_RESOURCES); if (!auraEffects.empty()) |