1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 18:19:55 +00:00

Avoid fall-through in spell selection

This commit is contained in:
Andrei Kortunov 2018-06-28 11:12:48 +04:00
parent 87d9a4ff0b
commit 5455490ad2

View file

@ -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: