File diff r9079:94de7663db38 → r9080:069681a7c2ba
src/dock_gui.cpp
Show inline comments
 
@@ -229,14 +229,14 @@ static const WindowDesc _build_docks_too
 
};
 

	
 
void ShowBuildDocksToolbar()
 
{
 
	if (!IsValidPlayer(_current_player)) return;
 

	
 
	DeleteWindowById(WC_BUILD_TOOLBAR, 0);
 
	Window *w = AllocateWindowDesc(&_build_docks_toolbar_desc);
 
	DeleteWindowByClass(WC_BUILD_TOOLBAR);
 
	Window *w = AllocateWindowDescFront(&_build_docks_toolbar_desc, TRANSPORT_WATER);
 
	if (_patches.link_terraform_toolbar) ShowTerraformToolbar(w);
 
}
 

	
 
static void BuildDockStationWndProc(Window *w, WindowEvent *e)
 
{
 
	switch (e->event) {