1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-18 12:09:10 +00:00

(svn r1056) -Fix: [Network] Give the dedicated-server always a console in windows (sign_de)

This commit is contained in:
truelight
2004-12-13 16:51:10 +00:00
parent e7886b6a34
commit 549dafc241

View File

@@ -32,6 +32,12 @@ static const char *DedicatedVideoStart(char **parm) {
_debug_net_level = 6;
_debug_misc_level = 0;
#ifdef WIN32
// For win32 we need to allocate an console (debug mode does the same)
CreateConsole();
SetConsoleTitle("OpenTTD Dedicated Server");
#endif
DEBUG(misc,0)("Loading dedicated server...");
return NULL;
}