forked from mirror/openmw-tes3mp
Stats should never go below 0
This commit is contained in:
parent
642653d10e
commit
f7d8f6456f
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ namespace MWMechanics
|
|||
|
||||
const T& getModified() const
|
||||
{
|
||||
return mModified;
|
||||
return std::max(static_cast<T>(0), mModified);
|
||||
}
|
||||
|
||||
T getModifier() const
|
||||
|
|
Loading…
Reference in a new issue