forked from teamnwah/openmw-tes3coop
another armour class detection fix
This commit is contained in:
parent
8d60a7f03b
commit
6f9d9c0f9e
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ namespace MWClass
|
|||
if (typeGmst.empty())
|
||||
return -1;
|
||||
|
||||
float iWeight = environment.mWorld->getStore().gameSettings.find (typeGmst)->f;
|
||||
float iWeight = environment.mWorld->getStore().gameSettings.find (typeGmst)->i;
|
||||
|
||||
if (iWeight * environment.mWorld->getStore().gameSettings.find ("fLightMaxMod")->f>=
|
||||
ref->base->data.weight)
|
||||
|
|
Loading…
Reference in a new issue