fixed a stats bug (reducing modified stats via setModified didn't work correctly

pull/7/head
Marc Zinnschlag 15 years ago
parent c883921af3
commit 8e6a765603

@ -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…
Cancel
Save