Core/Spell: fix nopch build x2

This commit is contained in:
ariel- authored and roc13x committed 2017-05-04 05:02:26 +01:00
1 parent 9dbbe92875
commit eee81e3748
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -398,7 +398,7 @@ void SpellMgr::GetSetOfSpellsInSpellGroup(SpellGroup group_id, std::set<uint32>&
}
}
bool SpellMgr::AddSameEffectStackRuleSpellGroups(SpellInfo const* spellInfo, AuraType auraType, int32 amount, std::map<SpellGroup, int32>& groups) const
bool SpellMgr::AddSameEffectStackRuleSpellGroups(SpellInfo const* spellInfo, uint32 auraType, int32 amount, std::map<SpellGroup, int32>& groups) const
{
uint32 spellId = spellInfo->GetFirstRankSpell()->Id;
auto spellGroupBounds = GetSpellSpellGroupMapBounds(spellId);
@@ -410,7 +410,7 @@ bool SpellMgr::AddSameEffectStackRuleSpellGroups(SpellInfo const* spellInfo, Aur
if (found != mSpellSameEffectStack.end())
{
// check auraTypes
if (!found->second.count(uint32(auraType)))
if (!found->second.count(auraType))
continue;
// Put the highest amount in the map