summaryrefslogtreecommitdiff
path: root/manualPorts/openttd-git/everything.patch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-16 07:59:44 +0200
committerErich Eckner <git@eckner.net>2018-06-16 07:59:44 +0200
commit9cada227a15366ec0673313cd6bf1bc274a10382 (patch)
tree34fd9644c3ce11b7e36edf772845298defc3bb3a /manualPorts/openttd-git/everything.patch
parent9c66bb5d665563ef1d7c88c8a90c43c8e4dae545 (diff)
downloadcrux-ports-9cada227a15366ec0673313cd6bf1bc274a10382.tar.xz
openttd-git: -> 28146.5ab06ef8a3
Diffstat (limited to 'manualPorts/openttd-git/everything.patch')
-rw-r--r--manualPorts/openttd-git/everything.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/manualPorts/openttd-git/everything.patch b/manualPorts/openttd-git/everything.patch
index e34a71d..b38e5b7 100644
--- a/manualPorts/openttd-git/everything.patch
+++ b/manualPorts/openttd-git/everything.patch
@@ -5401,7 +5401,7 @@ index 79eaa89b1..3d370711e 100644
/* Determine the watery part of the dock. */
DiagDirection dir = GetInclinedSlopeDirection(GetTileSlope(tile));
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
-index 359709e36..896ecd921 100644
+index 04eea8e66..534d89c0b 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -20,6 +20,7 @@
@@ -5449,7 +5449,7 @@ index 359709e36..896ecd921 100644
for (uint i = MIN_MAP_SIZE_BITS; i <= MAX_MAP_SIZE_BITS; i++) {
- DropDownListParamStringItem *item = new DropDownListParamStringItem(STR_JUST_INT, i, false);
+ DropDownListParamStringItem *item = new DropDownListParamStringItem((i + other_dimension > MAX_MAP_TILES_BITS) ? STR_RED_INT : STR_JUST_INT, i, false);
- item->SetParam(0, 1 << i);
+ item->SetParam(0, 1LL << i);
*list->Append() = item;
}
@@ -315,6 +341,14 @@ struct GenerateLandscapeWindow : public Window {