diff --git a/engine/platform/sdl/sys_sdl.c b/engine/platform/sdl/sys_sdl.c index a6573876..b1ad5838 100644 --- a/engine/platform/sdl/sys_sdl.c +++ b/engine/platform/sdl/sys_sdl.c @@ -64,8 +64,14 @@ void Platform_Init( void ) #if XASH_POSIX Posix_Daemonize(); #endif +#ifdef XASH_WIN32 + Wcon_CreateConsole(); // system console used by dedicated server or show fatal errors +#endif } void Platform_Shutdown( void ) { +#ifdef XASH_WIN32 + Wcon_DestroyConsole(); +#endif } \ No newline at end of file