diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-16 14:43:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-16 14:43:47 +0300 |
commit | bf3205aafa71fad7138e7be8a4b641907ec056ce (patch) | |
tree | 1ce5728058c09aeafafb4210cf0ecd89ab0e0397 /src/client.cpp | |
parent | f03edb38328aa5ddb48e10198621bf2353096440 (diff) | |
download | ManaVerse-bf3205aafa71fad7138e7be8a4b641907ec056ce.tar.gz ManaVerse-bf3205aafa71fad7138e7be8a4b641907ec056ce.tar.bz2 ManaVerse-bf3205aafa71fad7138e7be8a4b641907ec056ce.tar.xz ManaVerse-bf3205aafa71fad7138e7be8a4b641907ec056ce.zip |
add ability to show emotes in text over heads.
for this textbox replaces into browserbox in speechbubble.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index e2ce0af74..b16ad2a22 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2899,8 +2899,16 @@ void Client::checkConfigVersion() config.setValue("showDidYouKnow", false); #endif } + if (version < 5) + { + if (config.getIntValue("speech") == Being::TEXT_OVERHEAD) + { + config.setValue("speech", static_cast<int>( + Being::NO_NAME_IN_BUBBLE)); + } + } - config.setValue("cfgver", 4); + config.setValue("cfgver", 5); } Window *Client::openErrorDialog(const std::string &header, |