From 0db77807b7784dbbb318ab966e2e4a0d8666c8ec Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 10 Dec 2009 12:26:39 +0000 Subject: (svn r18453) -Fix [FS#3364]: wrong heightmap dimensions, or rather... a nested_array index removed too much --- src/genworld_gui.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 63318d92b..e66eb66bc 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -82,10 +82,8 @@ enum GenerateLandscapeWindowWidgets { GLAND_TREE_PULLDOWN, GLAND_LANDSCAPE_PULLDOWN, - GLAND_HEIGHTMAP_NAME_LABEL, GLAND_HEIGHTMAP_NAME_TEXT, GLAND_HEIGHTMAP_NAME_SPACER, - GLAND_HEIGHTMAP_SIZE_LABEL, GLAND_HEIGHTMAP_SIZE_TEXT, GLAND_HEIGHTMAP_ROTATION_PULLDOWN, @@ -268,7 +266,7 @@ static const NWidgetPart _nested_heightmap_load_widgets[] = { EndContainer(), NWidget(NWID_VERTICAL, NC_EQUALSIZE), SetPIP(0, 4, 0), NWidget(WWT_EMPTY, INVALID_COLOUR, GLAND_HEIGHTMAP_NAME_SPACER), SetFill(1, 0), - NWidget(WWT_TEXT, COLOUR_ORANGE), SetDataTip(STR_MAPGEN_HEIGHTMAP_SIZE, STR_NULL), SetFill(1, 0), + NWidget(WWT_TEXT, COLOUR_ORANGE, GLAND_HEIGHTMAP_SIZE_TEXT), SetDataTip(STR_MAPGEN_HEIGHTMAP_SIZE, STR_NULL), SetFill(1, 0), NWidget(NWID_HORIZONTAL), NWidget(WWT_IMGBTN, COLOUR_ORANGE, GLAND_START_DATE_DOWN), SetDataTip(SPR_ARROW_DOWN, STR_SCENEDIT_TOOLBAR_TOOLTIP_MOVE_THE_STARTING_DATE_BACKWARD), SetFill(0, 1), NWidget(WWT_TEXTBTN, COLOUR_ORANGE, GLAND_START_DATE_TEXT), SetDataTip(STR_BLACK_DATE_LONG, STR_NULL), SetFill(1, 0), -- cgit v1.2.3-70-g09d2