summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-31 18:27:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-31 18:27:04 +0300
commitef4e931f60d9a3d262a824f96ab9d328fc89a40f (patch)
tree30a805d4642d8d58d0255f91a380363a0f8373f0 /src/being/being.cpp
parent01b022a685301d1f442faf7ba13f3cf7967e3e7c (diff)
downloadmanaplus-ef4e931f60d9a3d262a824f96ab9d328fc89a40f.tar.gz
manaplus-ef4e931f60d9a3d262a824f96ab9d328fc89a40f.tar.bz2
manaplus-ef4e931f60d9a3d262a824f96ab9d328fc89a40f.tar.xz
manaplus-ef4e931f60d9a3d262a824f96ab9d328fc89a40f.zip
Fix code style.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index a923d107e..27cebc99c 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2483,7 +2483,7 @@ void Being::reReadConfig()
mHideErased = config.getBoolValue("hideErased");
mMoveNames = fromBool(config.getBoolValue("moveNames"), Move);
mUseDiagonal = config.getBoolValue("useDiagonalSpeed");
- mShowBadges = config.getIntValue("showBadges");
+ mShowBadges = static_cast<uint8_t>(config.getIntValue("showBadges"));
mUpdateConfigTime = cur_time;
}