1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00

Fix smooth-tiles checkbox not being invalidated; updated default height values

This commit is contained in:
Broxzier
2017-03-07 18:49:10 +01:00
committed by Michał Janiszewski
parent 810103b90f
commit 624f3e3298

View File

@@ -565,8 +565,8 @@ static bool _heightmapSmoothMap = false;
static sint32 _heightmapSmoothStrength = 1;
static bool _heightmapNormalize = false;
static bool _heightmapSmoothTiles = true;
static sint32 _heightmapLow = 6;
static sint32 _heightmapHigh = 40;
static sint32 _heightmapLow = 2;
static sint32 _heightmapHigh = 70;
rct_window *window_mapgen_open()
{
@@ -1258,6 +1258,7 @@ static void window_mapgen_heightmap_invalidate(rct_window *w)
widget_set_checkbox_value(w, WIDX_HEIGHTMAP_SMOOTH_HEIGHTMAP, _heightmapSmoothMap);
widget_set_checkbox_value(w, WIDX_HEIGHTMAP_NORMALIZE, _heightmapNormalize);
widget_set_checkbox_value(w, WIDX_HEIGHTMAP_SMOOTH_TILES, _heightmapSmoothTiles);
window_mapgen_set_pressed_tab(w);
}