mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
[Regression] Avoid confusing inventory doll with player
This commit is contained in:
parent
cad4ba0423
commit
dcbe76d888
1 changed files with 1 additions and 1 deletions
|
@ -1180,7 +1180,7 @@ namespace MWClass
|
|||
MWBase::Environment::get().getWorld()->getStore().get<ESM::Race>().find(ref->mBase->mRace);
|
||||
|
||||
// Race weight should not affect 1st-person meshes, otherwise it will change hand proportions and can break aiming.
|
||||
if (ptr == MWMechanics::getPlayer() && MWBase::Environment::get().getWorld()->isFirstPerson())
|
||||
if (ptr == MWMechanics::getPlayer() && ptr.isInCell() && MWBase::Environment::get().getWorld()->isFirstPerson())
|
||||
{
|
||||
if (ref->mBase->isMale())
|
||||
scale *= race->mData.mHeight.mMale;
|
||||
|
|
Loading…
Reference in a new issue