summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-16 14:43:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-16 14:43:47 +0300
commitbf3205aafa71fad7138e7be8a4b641907ec056ce (patch)
tree1ce5728058c09aeafafb4210cf0ecd89ab0e0397 /src/client.cpp
parentf03edb38328aa5ddb48e10198621bf2353096440 (diff)
downloadManaVerse-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.cpp10
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,