Fixed Windows build

This commit is contained in:
mathusummut
2018-11-05 23:37:18 +01:00
parent d5cb7c2977
commit c667ba2584

View File

@@ -8428,8 +8428,10 @@ namespace Game {
} //end namespace
int main(int argc, char **argv) {
#ifndef _WIN32
setenv("DBUS_FATAL_WARNINGS", "0", 1);
unsetenv("XMODIFIERS");
#endif
int result = mainSetup(argc,argv);
if (result == 0)
result = Game::glestMainWrapper(argc, argv);