(svn r18578) -Feature: initially select the last joined server when going to the server list

This commit is contained in:
rubidium 2009-12-20 19:18:18 +00:00
parent 3d21848258
commit cf2349ae10
1 changed files with 1 additions and 3 deletions

View File

@ -451,10 +451,8 @@ public:
UpdateNetworkGameWindow(true);
this->field = NGWW_CLIENT;
this->server = NULL;
this->list_pos = SLP_INVALID;
this->last_joined = NetworkGameListAddItem(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port));
this->server = this->last_joined;
this->servers.SetListing(this->last_sorting);
this->servers.SetSortFuncs(this->sorter_funcs);