NetPlay: Fix build when miniupnpc is disabled.
This commit is contained in:
1 parent
2a5d22b3a7
commit
c4cd0d444a
2 files changed
+5
-1
No files matched your search
@@ -337,7 +337,9 @@ void NetPlaySetupFrame::DoHost()
|
||||
host_config.player_name = WxStrToStr(m_nickname_text->GetValue());
|
||||
host_config.game_list_ctrl = m_game_list;
|
||||
host_config.SetDialogInfo(netplay_section, m_parent);
|
||||
#ifdef USE_UPNP
|
||||
host_config.forward_port = m_upnp_chk->GetValue();
|
||||
#endif
|
||||
|
||||
if (host_config.use_traversal)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user