Changeset - r17887:8dfb20a2d652
[Not reviewed]
master
0 2 0
rubidium - 13 years ago 2011-07-30 10:44:58
rubidium@openttd.org
(svn r22696) -Fix: don't requery the servers when the server list window isn't opened
2 files changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/network/network.cpp
Show inline comments
 
@@ -837,7 +837,6 @@ void NetworkUDPGameLoop()
 
	} else {
 
		_udp_client_socket->ReceivePackets();
 
		if (_network_udp_broadcast > 0) _network_udp_broadcast--;
 
		NetworkGameListRequery();
 
	}
 
}
 

	
src/network/network_gui.cpp
Show inline comments
 
@@ -889,6 +889,11 @@ public:
 
		this->vscroll->SetCapacityFromWidget(this, NGWW_MATRIX);
 
		this->GetWidget<NWidgetCore>(NGWW_MATRIX)->widget_data = (this->vscroll->GetCapacity() << MAT_ROW_START) + (1 << MAT_COL_START);
 
	}
 

	
 
	virtual void OnTick()
 
	{
 
		NetworkGameListRequery();
 
	}
 
};
 

	
 
Listing NetworkGameWindow::last_sorting = {false, 5};
0 comments (0 inline, 0 general)