diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-19 14:58:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-19 14:58:40 +0300 |
commit | 164e4ed5a153ce06badb52f3a5a4dff16c58d7e6 (patch) | |
tree | 635ac9f42f43be11b4192b9af78969191341cd89 /src/client.cpp | |
parent | 220c16d60b9ab983536a9d17d8237fef983ce534 (diff) | |
download | manaplus-164e4ed5a153ce06badb52f3a5a4dff16c58d7e6.tar.gz manaplus-164e4ed5a153ce06badb52f3a5a4dff16c58d7e6.tar.bz2 manaplus-164e4ed5a153ce06badb52f3a5a4dff16c58d7e6.tar.xz manaplus-164e4ed5a153ce06badb52f3a5a4dff16c58d7e6.zip |
Fix loading client data translations.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index e09bbdcbc..e6aeb22e2 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1097,6 +1097,7 @@ int Client::gameExec() case STATE_WORLD_SELECT: logger->log1("State: WORLD SELECT"); { + TranslationManager::loadCurrentLang(); Worlds worlds = Net::getLoginHandler()->getWorlds(); if (worlds.empty()) @@ -1196,6 +1197,8 @@ int Client::gameExec() if (!BeingInfo::unknown) BeingInfo::unknown = new BeingInfo; + TranslationManager::loadCurrentLang(); + Event evt2(EVENT_STATECHANGE); evt2.setInt("newState", STATE_LOAD_DATA); evt2.setInt("oldState", mOldState); |