summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-12 17:49:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-12 17:49:41 +0300
commit261b8ab980d442d0cf1b06df244388d65f431301 (patch)
tree9b703ac5b2c3d48aeab4728aa4eb8d704780442c /src/client.cpp
parent707a1570df9146c42411afb6dd7b2e9bc11b0251 (diff)
downloadplus-261b8ab980d442d0cf1b06df244388d65f431301.tar.gz
plus-261b8ab980d442d0cf1b06df244388d65f431301.tar.bz2
plus-261b8ab980d442d0cf1b06df244388d65f431301.tar.xz
plus-261b8ab980d442d0cf1b06df244388d65f431301.zip
Move beingspeech into separate file.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 1a6863a6d..f3d8371f4 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -42,6 +42,7 @@
#include "units.h"
#include "touchmanager.h"
+#include "being/beingspeech.h"
#include "being/playerrelations.h"
#include "input/inputmanager.h"
@@ -2936,10 +2937,10 @@ void Client::checkConfigVersion()
}
if (version < 5)
{
- if (config.getIntValue("speech") == Being::TEXT_OVERHEAD)
+ if (config.getIntValue("speech") == BeingSpeech::TEXT_OVERHEAD)
{
config.setValue("speech", static_cast<int>(
- Being::NO_NAME_IN_BUBBLE));
+ BeingSpeech::NO_NAME_IN_BUBBLE));
}
}
if (version < 6)