diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/d_net.c | 3 | ||||
-rw-r--r-- | src/net_server.c | 1 |
3 files changed, 5 insertions, 1 deletions
@@ -14,6 +14,8 @@ to the same key from being cleared (thanks myk). * The joystick menu in the setup tool now has a test button (thanks Alexandre Xavier). + * Specifying the -privateserver option implies -server (thanks + Porsche Monty). Compatibility: * Added support for the alternate version of the Final Doom diff --git a/src/d_net.c b/src/d_net.c index 57fe2399..558c3e4d 100644 --- a/src/d_net.c +++ b/src/d_net.c @@ -278,7 +278,8 @@ void D_CheckNetGame (void) // Start a multiplayer server, listening for connections. // - if (M_CheckParm("-server") > 0) + if (M_CheckParm("-server") > 0 + || M_CheckParm("-privateserver") > 0) { NET_SV_Init(); NET_SV_AddModule(&net_loop_server_module); diff --git a/src/net_server.c b/src/net_server.c index b3a9ea92..d889c120 100644 --- a/src/net_server.c +++ b/src/net_server.c @@ -1565,6 +1565,7 @@ void NET_SV_RegisterWithMaster(void) { //! // When running a server, don't register with the global master server. + // Implies -server. // // @category net // |