equal
deleted
inserted
replaced
230 |
230 |
231 void ShowBuildDocksToolbar() |
231 void ShowBuildDocksToolbar() |
232 { |
232 { |
233 if (!IsValidPlayer(_current_player)) return; |
233 if (!IsValidPlayer(_current_player)) return; |
234 |
234 |
235 DeleteWindowById(WC_BUILD_TOOLBAR, 0); |
235 DeleteWindowByClass(WC_BUILD_TOOLBAR); |
236 Window *w = AllocateWindowDesc(&_build_docks_toolbar_desc); |
236 Window *w = AllocateWindowDescFront(&_build_docks_toolbar_desc, TRANSPORT_WATER); |
237 if (_patches.link_terraform_toolbar) ShowTerraformToolbar(w); |
237 if (_patches.link_terraform_toolbar) ShowTerraformToolbar(w); |
238 } |
238 } |
239 |
239 |
240 static void BuildDockStationWndProc(Window *w, WindowEvent *e) |
240 static void BuildDockStationWndProc(Window *w, WindowEvent *e) |
241 { |
241 { |