From 0261eb73e5588f5732aef5df753311d488c45d06 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Sun, 28 Apr 2013 11:52:08 +0200 Subject: Fixed a bunch of cppcheck warnings --- src/game-server/attribute.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game-server/attribute.cpp') 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) -- cgit