Merge pull request #4701 from leoetlino/netplay-map-bug

Netplay: Fix wrong mapping info being used in dialog
This commit is contained in:
JosJuice 2017-01-21 20:48:57 +01:00 committed by GitHub
commit 9fb01ecc73
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ PadMapDialog::PadMapDialog(wxWindow* parent, NetPlayServer* server, NetPlayClien
{ {
for (unsigned int j = 0; j < m_player_list.size(); j++) for (unsigned int j = 0; j < m_player_list.size(); j++)
{ {
if (m_pad_mapping[idx] == m_player_list[j]->pid) if (mapping[idx] == m_player_list[j]->pid)
{ {
m_map_cbox[base_idx + idx]->Select(j + 1); m_map_cbox[base_idx + idx]->Select(j + 1);
break; break;