mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 19:35:42 +00:00
@@ -10231,7 +10231,7 @@ void Player::AddSpellAndCategoryCooldowns(SpellInfo const* spellInfo, uint32 ite
|
||||
}
|
||||
|
||||
// Only within the same spellfamily
|
||||
SpellInfo const* categorySpellInfo = sSpellMgr->GetSpellInfo(i_scset->first);
|
||||
SpellInfo const* categorySpellInfo = sSpellMgr->GetSpellInfo(i_scset->second);
|
||||
if (!categorySpellInfo || categorySpellInfo->SpellFamilyName != spellInfo->SpellFamilyName)
|
||||
{
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user