From c9eaa6bd798844cf787af75738e87f7e036b2513 Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Wed, 19 Mar 2025 16:22:33 +0000 Subject: [PATCH] Edit i_tcp.c Enabled UPnP support by default --- src/netcode/i_tcp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/netcode/i_tcp.c b/src/netcode/i_tcp.c index 38d4bbbaa..f56c37d8a 100644 --- a/src/netcode/i_tcp.c +++ b/src/netcode/i_tcp.c @@ -1172,10 +1172,10 @@ boolean I_InitTcpDriver(void) { I_AddExitFunc(I_ShutdownTcpDriver); #ifdef HAVE_MINIUPNPC - if (M_CheckParm("-useUPnP")) - I_InitUPnP(); - else + if (M_CheckParm("-noUPnP")) UPNP_support = false; + else + I_InitUPnP(); #endif } return init_tcp_driver;