Skip to content

Commit

Permalink
Rogue: Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Jan 12, 2024
1 parent 027ab54 commit 082e4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Spells/Scripts/Scripting/ClassScripts/Rogue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Player*>(spell->GetCaster())->RemoveSomeCooldown(cdCheck);
}
}
Expand Down

0 comments on commit 082e4b1

Please sign in to comment.