changeset 9143 | 029e126e3439 |
parent 9142 | 858a058aa730 |
child 9161 | fda175383e87 |
--- a/src/dock_gui.cpp Thu May 08 11:31:41 2008 +0000 +++ b/src/dock_gui.cpp Thu May 08 11:50:34 2008 +0000 @@ -229,7 +229,7 @@ if (!IsValidPlayer(_current_player)) return; DeleteWindowByClass(WC_BUILD_TOOLBAR); - Window *w = AllocateWindowDescFront(&_build_docks_toolbar_desc, TRANSPORT_WATER); + Window *w = AllocateWindowDescFront<Window>(&_build_docks_toolbar_desc, TRANSPORT_WATER); if (_patches.link_terraform_toolbar) ShowTerraformToolbar(w); }