1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 06:53:52 +00:00

Corrected base character height.

This commit is contained in:
Mads Buvik Sandvei 2020-12-04 22:41:06 +01:00
parent d34ff613b3
commit c46c20dec2

View file

@ -459,7 +459,7 @@ namespace MWVR
MWBase::Environment::get().getWorld()->getStore().get<ESM::Race>().find(ref->mBase->mRace);
bool isMale = ref->mBase->isMale();
float charHeightFactor = isMale ? race->mData.mHeight.mMale : race->mData.mHeight.mFemale;
float charHeightBase = 1.8f; // Is this ~ the right value?
float charHeightBase = 1.8288f; // Is this ~ the right value?
float charHeight = charHeightBase * charHeightFactor;
float realHeight = Settings::Manager::getFloat("real height", "VR");
float sizeFactor = charHeight / realHeight;