summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lang/english.txt4
-rw-r--r--src/lang/russian.txt6
-rw-r--r--src/layer.cpp2
3 files changed, 10 insertions, 2 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 5381a0105..77c25097f 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -485,6 +485,10 @@ STR_LANDSCAPING_MENU_LAYER_1 :Surface
STR_LANDSCAPING_MENU_LAYER_2 :Undergroound (-1)
STR_LANDSCAPING_MENU_LAYER_3 :Undergroound (-2)
STR_LANDSCAPING_MENU_LAYER_4 :Undergroound (-3)
+STR_LANDSCAPING_MENU_LAYER_5 :Undergroound (-4)
+STR_LANDSCAPING_MENU_LAYER_6 :Undergroound (-5)
+STR_LANDSCAPING_MENU_LAYER_7 :Undergroound (-6)
+STR_LANDSCAPING_MENU_LAYER_8 :Undergroound (-7)
############ range ends here
# Music menu
diff --git a/src/lang/russian.txt b/src/lang/russian.txt
index eca8f7891..343630757 100644
--- a/src/lang/russian.txt
+++ b/src/lang/russian.txt
@@ -605,13 +605,17 @@ STR_LANDSCAPING_MENU_PLANT_TREES :Высадка
STR_LANDSCAPING_MENU_PLACE_SIGN :Поставить метку
# Underground menu
-###length 6
+###length 10
STR_LANDSCAPING_MENU_SEPARATOR1 :
STR_LANDSCAPING_MENU_UNDERGROUND :Спец. конструкции
STR_LANDSCAPING_MENU_LAYER_1 :Поверхность
STR_LANDSCAPING_MENU_LAYER_2 :Подземелье (-1)
STR_LANDSCAPING_MENU_LAYER_3 :Подземелье (-2)
STR_LANDSCAPING_MENU_LAYER_4 :Подземелье (-3)
+STR_LANDSCAPING_MENU_LAYER_5 :Подземелье (-4)
+STR_LANDSCAPING_MENU_LAYER_6 :Подземелье (-5)
+STR_LANDSCAPING_MENU_LAYER_7 :Подземелье (-6)
+STR_LANDSCAPING_MENU_LAYER_8 :Подземелье (-7)
# Music menu
###length 1
diff --git a/src/layer.cpp b/src/layer.cpp
index fdf182e1f..4fe511234 100644
--- a/src/layer.cpp
+++ b/src/layer.cpp
@@ -94,7 +94,7 @@ uint _layer_size; ///< Layer size (sizeX * sizeY)
void InstallLayerSystem(uint size_x, uint size_y, uint layer_count)
{
- if (!IsInsideMM(layer_count, MIN_LAYER_COUNT, MAX_LAYER_COUNT))
+ if (!IsInsideMM(layer_count, MIN_LAYER_COUNT, MAX_LAYER_COUNT+1))
error("invalid layer count");
_layer_size_x = size_x;