summaryrefslogtreecommitdiffstats
path: root/src/game-server/attribute.cpp
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-04-28 11:52:08 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-05-02 21:45:54 +0200
commit0261eb73e5588f5732aef5df753311d488c45d06 (patch)
treed641b0cad81ea58b8d8680b002197a4f592ef4a9 /src/game-server/attribute.cpp
parent23ccc8080a5283adce9f06909fc89b63d0e25452 (diff)
downloadmanaserv-0261eb73e5588f5732aef5df753311d488c45d06.tar.gz
manaserv-0261eb73e5588f5732aef5df753311d488c45d06.tar.xz
manaserv-0261eb73e5588f5732aef5df753311d488c45d06.zip
Fixed a bunch of cppcheck warnings
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)