mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
fixed an enum
This commit is contained in:
parent
0e7ba008ad
commit
5f5addf052
@ -442,7 +442,7 @@ namespace MWMechanics
|
||||
if (playerStats.hasCommonDisease() || playerStats.hasBlightDisease())
|
||||
x += MWBase::Environment::get().getWorld()->getStore().get<ESM::GameSetting>().find("fDispDiseaseMod")->getFloat();
|
||||
|
||||
if (playerNpcStats.getDrawState() == MWMechanics::DrawState_::DrawState_Weapon)
|
||||
if (playerNpcStats.getDrawState() == MWMechanics::DrawState_Weapon)
|
||||
x += MWBase::Environment::get().getWorld()->getStore().get<ESM::GameSetting>().find("fDispWeaponDrawn")->getFloat();
|
||||
|
||||
int effective_disposition = std::max(0,std::min(int(x),100));//, normally clamped to [0..100] when used
|
||||
|
Loading…
x
Reference in New Issue
Block a user