From 164e4ed5a153ce06badb52f3a5a4dff16c58d7e6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 19 Feb 2012 14:58:40 +0300 Subject: Fix loading client data translations. --- src/client.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client.cpp') 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); -- cgit v1.2.3-60-g2f50