Core/Misc: Fix GCC 8 warnings
This commit is contained in:
1 parent
8714c2be57
commit
183789053e
20 files changed
+55
-49
No files matched your search
@@ -7251,7 +7251,7 @@ float Unit::GetUnitSpellCriticalChance(Unit* victim, SpellInfo const* spellProto
|
||||
break;
|
||||
}
|
||||
}
|
||||
/// Intentional fallback. Calculate critical strike chance for both Ranged and Melee spells
|
||||
/* fallthrough - Calculate critical strike chance for both Ranged and Melee spells*/
|
||||
case SPELL_DAMAGE_CLASS_RANGED:
|
||||
{
|
||||
if (victim)
|
||||
|
||||
Reference in new issue
Block a user