Updated changelog

This commit is contained in:
mathusummut
2019-01-26 21:47:03 +01:00
parent cc2f74f7f4
commit 61de761c55
5 changed files with 6 additions and 5 deletions

View File

@@ -6267,7 +6267,7 @@ namespace Game {
LuaScript::setDisableSandbox(true);
}
#ifdef _WIN32
if (config.getBool("ShowConsoleWindows", "false") == false)
if (config.getBool("ShowConsoleWindows", "false") == false && GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
ShowWindow(GetConsoleWindow(), SW_HIDE);
#endif

View File

@@ -1302,7 +1302,7 @@ namespace Game {
#ifdef _WIN32
if (checkBoxShowDeveloperConsoleOnWindows.getValue())
ShowWindow(GetConsoleWindow(), SW_SHOW);
else
else if (GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
ShowWindow(GetConsoleWindow(), SW_HIDE);
#endif
Renderer::getInstance().loadConfig();

View File

@@ -1091,7 +1091,7 @@ namespace Game {
#ifdef _WIN32
if (config.getBool("ShowConsoleWindows", "false") == true)
ShowWindow(GetConsoleWindow(), SW_SHOW);
else
else if (GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
ShowWindow(GetConsoleWindow(), SW_HIDE);
#endif

View File

@@ -480,7 +480,7 @@ namespace Game {
#ifdef _WIN32
if (config.getBool("ShowConsoleWindows", "false") == true)
ShowWindow(GetConsoleWindow(), SW_SHOW);
else
else if (GlobalStaticFlags::getIsNonGraphicalModeEnabled() == false)
ShowWindow(GetConsoleWindow(), SW_HIDE);
#endif