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:
parent
d34ff613b3
commit
c46c20dec2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue