* Another small batch of fixes from static analysis tool.
This commit is contained in:
1 parent
60a88a08f5
commit
98ad7309c9
5 files changed
+11
-8
No files matched your search
@@ -10466,6 +10466,7 @@ bool Unit::isSpellCrit(Unit* victim, SpellInfo const* spellProto, SpellSchoolMas
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case SPELL_DAMAGE_CLASS_MAGIC:
|
||||
{
|
||||
if (schoolMask & SPELL_SCHOOL_MASK_NORMAL)
|
||||
@@ -10612,6 +10613,7 @@ bool Unit::isSpellCrit(Unit* victim, SpellInfo const* spellProto, SpellSchoolMas
|
||||
break;
|
||||
}
|
||||
}
|
||||
/// Intentional fallback. Calculate critical strike chance for both Ranged and Melee spells
|
||||
case SPELL_DAMAGE_CLASS_RANGED:
|
||||
{
|
||||
if (victim)
|
||||
|
||||
Reference in new issue
Block a user