aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-17 17:23:53 -0500
committermegamage <none@none>2009-08-17 17:23:53 -0500
commitb91be086f0606f017ca8766a8540823a234e36ea (patch)
tree27192febc0220d6904ffc8afe2c52da8056aa1d8 /src
parentd205ff9e0675f181f7c7a34a517e5dc3b75ff5ea (diff)
*Fix a typo in spell 58039.
--HG-- branch : trunk
Diffstat (limited to 'src')
-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
{