mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
fixed a stats bug (reducing modified stats via setModified didn't work correctly
This commit is contained in:
parent
c883921af3
commit
8e6a765603
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ namespace MWMechanics
|
|||
value = min + (mModified - mBase);
|
||||
diff = value - mModified;
|
||||
}
|
||||
else if (mBase>max-diff)
|
||||
else if (mBase+diff>max)
|
||||
{
|
||||
value = max + (mModified - mBase);
|
||||
diff = value - mModified;
|
||||
|
|
Loading…
Reference in a new issue