forked from mirror/openmw-tes3mp
Avoid fall-through in spell selection
This commit is contained in:
parent
87d9a4ff0b
commit
5455490ad2
1 changed files with 4 additions and 1 deletions
|
@ -328,7 +328,10 @@ namespace MWMechanics
|
|||
if (race->mData.mFlags & ESM::Race::Beast)
|
||||
return 0.f;
|
||||
}
|
||||
// Intended fall-through
|
||||
else
|
||||
return 0.f;
|
||||
|
||||
break;
|
||||
// Creatures can not wear armor
|
||||
case ESM::MagicEffect::BoundCuirass:
|
||||
case ESM::MagicEffect::BoundGloves:
|
||||
|
|
Loading…
Reference in a new issue