diff --git a/Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.cpp b/Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.cpp index 73bdb92bb2..60cb5b437a 100644 --- a/Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.cpp +++ b/Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.cpp @@ -91,11 +91,11 @@ NetPlaySetupFrame::NetPlaySetupFrame(wxWindow* const parent, const CGameListCtrl netplay_section.Get("TraversalChoice", &travChoice, "direct"); if (travChoice == "traversal") { - m_direct_traversal->Select(1); + m_direct_traversal->Select(TRAVERSAL_CHOICE); } else { - m_direct_traversal->Select(0); + m_direct_traversal->Select(DIRECT_CHOICE); } std::string centralPort; @@ -361,7 +361,7 @@ void NetPlaySetupFrame::DoHost() bool trav; unsigned long listen_port = 0; - if (m_direct_traversal->GetCurrentSelection() == 1) + if (m_direct_traversal->GetCurrentSelection() == TRAVERSAL_CHOICE) { trav = true; listen_port =