1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-16 16:20:53 +00:00
This commit is contained in:
vorenon 2013-03-06 22:11:02 +01:00
commit f13a279520

View File

@ -26,9 +26,9 @@ namespace MWMechanics
return mBase;
}
const T& getModified() const
T getModified() const
{
return mModified;
return std::max(static_cast<T>(0), mModified);
}
T getModifier() const
@ -108,7 +108,7 @@ namespace MWMechanics
return mStatic.getBase();
}
const T& getModified() const
T getModified() const
{
return mStatic.getModified();
}