mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-08-19 13:02:02 +02:00
Revert "always console for windows Debug builds"
This reverts commit a826091dc9
.
This commit is contained in:
@@ -1476,9 +1476,7 @@ WinMain(HINSTANCE instance,
|
|||||||
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
||||||
|
|
||||||
#ifndef MASTER
|
#ifndef MASTER
|
||||||
#ifndef DEBUG
|
|
||||||
if (strstr(cmdLine, "-console"))
|
if (strstr(cmdLine, "-console"))
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
AllocConsole();
|
AllocConsole();
|
||||||
freopen("CONIN$", "r", stdin);
|
freopen("CONIN$", "r", stdin);
|
||||||
|
@@ -2021,9 +2021,7 @@ WinMain(HINSTANCE instance,
|
|||||||
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
||||||
|
|
||||||
#ifndef MASTER
|
#ifndef MASTER
|
||||||
#ifndef DEBUG
|
|
||||||
if (strstr(cmdLine, "-console"))
|
if (strstr(cmdLine, "-console"))
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
AllocConsole();
|
AllocConsole();
|
||||||
freopen("CONIN$", "r", stdin);
|
freopen("CONIN$", "r", stdin);
|
||||||
|
Reference in New Issue
Block a user