diff --git a/src/game/Spells/Scripts/Scripting/ClassScripts/Rogue.cpp b/src/game/Spells/Scripts/Scripting/ClassScripts/Rogue.cpp index 991fe959b8c..f4265e24732 100644 --- a/src/game/Spells/Scripts/Scripting/ClassScripts/Rogue.cpp +++ b/src/game/Spells/Scripts/Scripting/ClassScripts/Rogue.cpp @@ -31,7 +31,7 @@ struct Preparation : public SpellScript if (spell->GetCaster()->HasAura(56819)) // Glyph of Preparation mask |= 0x0010080000000010; // immediately finishes the cooldown on certain Rogue abilities - auto cdCheck = [](SpellEntry const & spellEntry) -> bool { return (spellEntry.SpellFamilyName == SPELLFAMILY_ROGUE && (spellEntry.SpellFamilyFlags & )); }; + auto cdCheck = [mask](SpellEntry const & spellEntry) -> bool { return (spellEntry.SpellFamilyName == SPELLFAMILY_ROGUE && (spellEntry.SpellFamilyFlags & mask)); }; static_cast(spell->GetCaster())->RemoveSomeCooldown(cdCheck); } }