diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-31 18:27:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-31 18:27:04 +0300 |
commit | ef4e931f60d9a3d262a824f96ab9d328fc89a40f (patch) | |
tree | 30a805d4642d8d58d0255f91a380363a0f8373f0 /src/actormanager.cpp | |
parent | 01b022a685301d1f442faf7ba13f3cf7967e3e7c (diff) | |
download | manaplus-ef4e931f60d9a3d262a824f96ab9d328fc89a40f.tar.gz manaplus-ef4e931f60d9a3d262a824f96ab9d328fc89a40f.tar.bz2 manaplus-ef4e931f60d9a3d262a824f96ab9d328fc89a40f.tar.xz manaplus-ef4e931f60d9a3d262a824f96ab9d328fc89a40f.zip |
Fix code style.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 510202435..155d844ce 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -1849,7 +1849,8 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing, void ActorManager::updateBadges() { - const int showBadges = config.getIntValue("showBadges"); + const uint8_t showBadges = static_cast<uint8_t>( + config.getIntValue("showBadges")); Being::mShowBadges = showBadges; for_actors { |