diff --git a/config.cpp b/config.cpp index 0eb624e6..86d63811 100644 --- a/config.cpp +++ b/config.cpp @@ -3337,6 +3337,7 @@ EX int config3 = addHook(hooks_configfile, 100, [] { "land size in landscape structure", "Each cell gets three coordinates, each of which change smoothly, using the same method as used for the generation of landscapes e.g. in Dragon Chasms. " "Then, we find a cell of the bitruncated cubic honeycomb at these cordinates, and this cell determines which land it is. The bigger the value, the larger the lands.", 'R') + ->set_sets([] { dialog::bound_low(1); }) ->set_reaction([] { if(game_active) { stop_game(); start_game(); } }); param_i(curse_percentage, "curse_percentage")->editable(0, 100, 1, diff --git a/landgen.cpp b/landgen.cpp index 55028b3c..db046362 100644 --- a/landgen.cpp +++ b/landgen.cpp @@ -2921,7 +2921,7 @@ EX void set_land_for_geometry(cell *c) { return; } if(land_structure == lsLandscape) { - if(landscape_div < 0) landscape_div = 1; + if(landscape_div <= 0) landscape_div = 1; array a; for(int i=0; i<3; i++) a[i] = getCdata(c, i); auto& ld = landscape_div;