mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-21 09:41:00 +00:00
Edit i_tcp.c
Enabled UPnP support by default
This commit is contained in:
parent
7b010557ab
commit
c9eaa6bd79
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue