mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 08:00:56 -04:00
Merge branch 'master' into osgshadow-test-vdsm
This commit is contained in:
commit
e24b76fb5e
@ -340,7 +340,7 @@ void MWWorld::InventoryStore::autoEquip (const MWWorld::Ptr& actor)
|
|||||||
if (old.getTypeName() == typeid(ESM::Clothing).name())
|
if (old.getTypeName() == typeid(ESM::Clothing).name())
|
||||||
{
|
{
|
||||||
// check value
|
// 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
|
// old clothing was more valuable
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user