mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 05:49:56 +00:00
Merge branch 'master' into osgshadow-test-vdsm
This commit is contained in:
commit
e24b76fb5e
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ void MWWorld::InventoryStore::autoEquip (const MWWorld::Ptr& actor)
|
|||
if (old.getTypeName() == typeid(ESM::Clothing).name())
|
||||
{
|
||||
// check value
|
||||
if (old.getClass().getValue (old) > test.getClass().getValue (test))
|
||||
if (old.getClass().getValue (old) >= test.getClass().getValue (test))
|
||||
// old clothing was more valuable
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue