aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 9cb21c0a2c4..23ca4a676b7 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -1014,11 +1014,12 @@ void Aura::HandleAuraSpecificMods(bool apply)
}
}
// Sprint (skip non player casted spells by category)
- else if (GetSpellProto()->SpellFamilyFlags[0] & 0x40 && GetSpellProto()->Category == 44)
+ else if (GetSpellProto()->SpellFamilyName == SPELLFAMILY_ROGUE)
{
- // in official you may only see one icon
- if(m_target->HasAura(58039)) // Glyph of Blurred Speed
- m_target->CastSpell(m_target, 61922, true); // Sprint (waterwalk)
+ if(GetSpellProto()->SpellFamilyFlags[0] & 0x40 && GetSpellProto()->Category == 44)
+ // in official maybe there is only one icon?
+ if(m_target->HasAura(58039)) // Glyph of Blurred Speed
+ m_target->CastSpell(m_target, 61922, true); // Sprint (waterwalk)
}
else
{