Merge pull request #4701 from leoetlino/netplay-map-bug
Netplay: Fix wrong mapping info being used in dialog
This commit is contained in:
commit
9fb01ecc73
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue