diff options
author | rubidium <rubidium@openttd.org> | 2009-10-27 14:46:59 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-27 14:46:59 +0000 |
commit | 4fd74e2f9453aaf21ae7264fad45145dda6e2427 (patch) | |
tree | 06611abf586e2d1855dccc606141e38d1089f91b /src/network | |
parent | 7b46503dfc14ae36c1e8d435f500b3e0061d93d3 (diff) | |
download | openttd-4fd74e2f9453aaf21ae7264fad45145dda6e2427.tar.xz |
(svn r17887) -Codechange: remove some (now) unneeded {SKIP}s
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_gui.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index ca5809ce5..3d9d8e95b 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -374,8 +374,7 @@ public: !sel->online || sel->info.grfconfig == NULL); - SetDParam(0, 0x00); - SetDParam(1, _lan_internet_types_dropdown[_settings_client.network.lan_internet]); + SetDParam(0, _lan_internet_types_dropdown[_settings_client.network.lan_internet]); this->DrawWidgets(); /* Edit box to set client name */ @@ -1015,23 +1014,23 @@ struct NetworkStartServerWindow : public QueryStringBaseWindow { { switch (widget) { case NSSW_CONNTYPE_BTN: - SetDParam(1, _connection_types_dropdown[_settings_client.network.server_advertise]); + SetDParam(0, _connection_types_dropdown[_settings_client.network.server_advertise]); break; case NSSW_CLIENTS_TXT: - SetDParam(2, _settings_client.network.max_clients); + SetDParam(0, _settings_client.network.max_clients); break; case NSSW_COMPANIES_TXT: - SetDParam(3, _settings_client.network.max_companies); + SetDParam(0, _settings_client.network.max_companies); break; case NSSW_SPECTATORS_TXT: - SetDParam(4, _settings_client.network.max_spectators); + SetDParam(0, _settings_client.network.max_spectators); break; case NSSW_LANGUAGE_BTN: - SetDParam(5, STR_NETWORK_LANG_ANY + _settings_client.network.server_lang); + SetDParam(0, STR_NETWORK_LANG_ANY + _settings_client.network.server_lang); break; } } |