Changeset - r19181:600844d541d0
[Not reviewed]
master
0 1 0
rubidium - 12 years ago 2012-03-25 19:43:17
rubidium@openttd.org
(svn r24069) -Fix (r24062): crash when not having a valid last joined address
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/network/network_gui.cpp
Show inline comments
 
@@ -452,7 +452,7 @@ public:
 
		this->field = WID_NG_CLIENT;
 
		this->last_joined = NetworkGameListAddItem(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port));
 
		this->server = this->last_joined;
 
		NetworkUDPQueryServer(this->last_joined->address);
 
		if (this->last_joined != NULL) NetworkUDPQueryServer(this->last_joined->address);
 

	
 
		this->servers.SetListing(this->last_sorting);
 
		this->servers.SetSortFuncs(this->sorter_funcs);
0 comments (0 inline, 0 general)