summaryrefslogtreecommitdiff
path: root/src/game-server/attribute.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-05-03 15:40:57 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2013-05-03 15:40:57 +0200
commited8fba0a47d2e498267cbfbf1271bacb76c400e9 (patch)
treed9e2bec54c051edb9d6c4175c3e5e5532e8d35ce /src/game-server/attribute.cpp
parent769030e6bd22faeb760731172c221ae801c04dcc (diff)
parentf6f27a9ffaf72f9856240db1bb788a9efa3e86f0 (diff)
downloadmanaserv-ed8fba0a47d2e498267cbfbf1271bacb76c400e9.tar.gz
manaserv-ed8fba0a47d2e498267cbfbf1271bacb76c400e9.tar.bz2
manaserv-ed8fba0a47d2e498267cbfbf1271bacb76c400e9.tar.xz
manaserv-ed8fba0a47d2e498267cbfbf1271bacb76c400e9.zip
Merge branch 'master' into lpc2012
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 71e5d944..f898b6e8 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)