summaryrefslogtreecommitdiffstats
path: root/src/game-server/attribute.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/attribute.cpp')
-rw-r--r--src/game-server/attribute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/attribute.cpp b/src/game-server/attribute.cpp
index 71e5d94..f898b6e 100644
--- a/src/game-server/attribute.cpp
+++ b/src/game-server/attribute.cpp
@@ -394,7 +394,7 @@ void AttributeModifiersEffect::clearMods(double baseValue)
mMod = mEffectType == Additive ? 0 : 1;
}
-double Attribute::checkBounds(double baseValue)
+double Attribute::checkBounds(double baseValue) const
{
LOG_DEBUG("Checking bounds for value: " << baseValue);
if (baseValue > mMaxValue)