Netplay: Fix wrong mapping info being used in dialog

Obvious fix for a small mistake.
This commit is contained in:
Léo Lam 2017-01-21 20:42:30 +01:00
parent ce07e5c2f9
commit 3eb81ad219
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++)
{
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);
break;