diff --git a/src/game.cpp b/src/game.cpp index 5b93b4c6593..03771f1e8f7 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1396,12 +1396,15 @@ int play_game(int argc, char** argv) game_controller game(argc,argv,use_sound); - bool res = game.init_config(); + bool res; +#ifdef WIN32 + res = game.init_config(); if(res == false) { std::cerr << "could not initialize game config\n"; return 0; } - +#endif + res = game.init_video(); if(res == false) { std::cerr << "could not initialize display\n"; @@ -1414,6 +1417,16 @@ int play_game(int argc, char** argv) return 0; } +#ifndef WIN32 + // it is better for gettext-native platforms to read the config + // files after having pre-initialized the language, maybe... + res = game.init_config(); + if(res == false) { + std::cerr << "could not initialize game config\n"; + return 0; + } +#endif + const cursor::manager cursor_manager; #if defined(_X11) && !defined(__APPLE__) SDL_EventState(SDL_SYSWMEVENT, SDL_ENABLE);