Core/Misc: fixed several warnings that have been exposed by the new warnings

This commit is contained in:
Ovahlord committed 2022-01-21 14:22:06 +01:00
1 parent 29fc3d55b4
commit 67b19e741d
6 files changed
+12 -13

No files matched your search

+1 -1
View File
@@ -1500,7 +1500,7 @@ void SpellMgr::LoadSpellGroupStackRules()
if (!spellInfo->Effects[i].IsAura())
continue;
int32 auraName = static_cast<int32>(spellInfo->Effects[i].ApplyAuraName);
uint32 auraName = spellInfo->Effects[i].ApplyAuraName;
for (std::vector<uint32> const& subGroup : SubGroups)
{
if (std::find(subGroup.begin(), subGroup.end(), auraName) != subGroup.end())