diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-06-24 01:59:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-06-24 01:59:01 +0300 |
commit | a6445adf61a87f73a3cd7781c36e36e228ac526e (patch) | |
tree | 6e291125a2fb15ae36e5c65af9b8bb1360b1eaea /src/actormanager.cpp | |
parent | bdc467e9f8d7c72d912eb7fdc434b3a14b52d901 (diff) | |
download | mv-a6445adf61a87f73a3cd7781c36e36e228ac526e.tar.gz mv-a6445adf61a87f73a3cd7781c36e36e228ac526e.tar.bz2 mv-a6445adf61a87f73a3cd7781c36e36e228ac526e.tar.xz mv-a6445adf61a87f73a3cd7781c36e36e228ac526e.zip |
Fix code style
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 732b342b2..51becef39 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -1850,9 +1850,7 @@ void ActorManager::optionChanged(const std::string &name) mCycleNPC = config.getBoolValue("cycleNPC"); else if (name == "extMouseTargeting") mExtMouseTargeting = config.getBoolValue("extMouseTargeting"); - else if (name == "showBadges") - updateBadges(); - else if (name == "visiblenamespos") + else if (name == "showBadges" || name == "visiblenamespos") updateBadges(); else if (name == "enableIdCollecting") mEnableIdCollecting = config.getBoolValue("enableIdCollecting"); |