diff --git a/src/town_gui.cpp b/src/town_gui.cpp --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -281,7 +281,7 @@ public: }; static WindowDesc _town_authority_desc( - WDP_AUTO, 317, 222, + WDP_AUTO, "view_town_authority", 317, 222, WC_TOWN_AUTHORITY, WC_NONE, 0, _nested_town_authority_widgets, lengthof(_nested_town_authority_widgets) @@ -551,7 +551,7 @@ static const NWidgetPart _nested_town_ga }; static WindowDesc _town_game_view_desc( - WDP_AUTO, 260, TownViewWindow::WID_TV_HEIGHT_NORMAL, + WDP_AUTO, "view_town", 260, TownViewWindow::WID_TV_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, 0, _nested_town_game_view_widgets, lengthof(_nested_town_game_view_widgets) @@ -582,7 +582,7 @@ static const NWidgetPart _nested_town_ed }; static WindowDesc _town_editor_view_desc( - WDP_AUTO, 260, TownViewWindow::WID_TV_HEIGHT_NORMAL, + WDP_AUTO, "view_town_scen", 260, TownViewWindow::WID_TV_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, 0, _nested_town_editor_view_widgets, lengthof(_nested_town_editor_view_widgets) @@ -938,7 +938,7 @@ GUITownList::SortFunction * const TownDi }; static WindowDesc _town_directory_desc( - WDP_AUTO, 208, 202, + WDP_AUTO, "list_towns", 208, 202, WC_TOWN_DIRECTORY, WC_NONE, 0, _nested_town_directory_widgets, lengthof(_nested_town_directory_widgets) @@ -1179,7 +1179,7 @@ public: }; static WindowDesc _found_town_desc( - WDP_AUTO, 160, 162, + WDP_AUTO, "build_town", 160, 162, WC_FOUND_TOWN, WC_NONE, WDF_CONSTRUCTION, _nested_found_town_widgets, lengthof(_nested_found_town_widgets)