diff --git a/source/glest_game/menu/menu_state_connected_game.cpp b/source/glest_game/menu/menu_state_connected_game.cpp index 3f2e0d00..9f96656c 100644 --- a/source/glest_game/menu/menu_state_connected_game.cpp +++ b/source/glest_game/menu/menu_state_connected_game.cpp @@ -4217,7 +4217,6 @@ void MenuStateConnectedGame::FTPClient_CallbackEvent(string itemName, } void MenuStateConnectedGame::setupUIFromGameSettings(GameSettings *gameSettings, bool errorOnMissingData) { - Lang &lang= Lang::getInstance(); NetworkManager &networkManager= NetworkManager::getInstance(); ClientInterface *clientInterface = networkManager.getClientInterface(); diff --git a/source/glest_game/menu/menu_state_custom_game.cpp b/source/glest_game/menu/menu_state_custom_game.cpp index ac4800fd..c5168ce6 100644 --- a/source/glest_game/menu/menu_state_custom_game.cpp +++ b/source/glest_game/menu/menu_state_custom_game.cpp @@ -1556,7 +1556,6 @@ void MenuStateCustomGame::PlayNow(bool saveGame) { if(listBoxTechTree.getItemCount() <= 0) { mainMessageBoxState=1; - Lang &lang= Lang::getInstance(); char szMsg[8096]=""; strcpy(szMsg,"Cannot start game.\nThere are no tech-trees!\n"); printf("%s",szMsg);