mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-19 16:51:53 +00:00
Merge branch 'useUPnP' into 'master'
UPnP support on by default See merge request STJr/SRB2!2654
This commit is contained in:
commit
7ba39eac70
1 changed files with 3 additions and 3 deletions
|
@ -1187,10 +1187,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