diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-12 17:49:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-12 17:49:41 +0300 |
commit | 261b8ab980d442d0cf1b06df244388d65f431301 (patch) | |
tree | 9b703ac5b2c3d48aeab4728aa4eb8d704780442c /src/client.cpp | |
parent | 707a1570df9146c42411afb6dd7b2e9bc11b0251 (diff) | |
download | mv-261b8ab980d442d0cf1b06df244388d65f431301.tar.gz mv-261b8ab980d442d0cf1b06df244388d65f431301.tar.bz2 mv-261b8ab980d442d0cf1b06df244388d65f431301.tar.xz mv-261b8ab980d442d0cf1b06df244388d65f431301.zip |
Move beingspeech into separate file.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 5 |
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) |