another armour class detection fix

This commit is contained in:
Marc Zinnschlag 2012-03-15 15:05:14 +01:00
parent 8d60a7f03b
commit 6f9d9c0f9e

View file

@ -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)