summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamu <dj_samu@hotmail.com>2018-10-11 01:01:34 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2018-10-25 20:09:42 +0200
commiteff09c43cd49819d1dbc9dfcb267cd274345097e (patch)
tree8c9e7a88369c5cd832c7a50d6ce9ee35e054606b
parentbddf25c36add1ba0dd1034ca9b662138f224f8d7 (diff)
downloadopenttd-eff09c43cd49819d1dbc9dfcb267cd274345097e.tar.xz
Fix #4109: Add more water checks to the Oil Rig layout
Prevents Oil Rig docking tile from becoming unreachable by ships when spawning next to each other.
-rw-r--r--src/table/build_industry.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/table/build_industry.h b/src/table/build_industry.h
index 5ae93bc7e..a0783332e 100644
--- a/src/table/build_industry.h
+++ b/src/table/build_industry.h
@@ -293,6 +293,19 @@ static const IndustryTileTable _tile_table_oil_rig_0[] = {
MK(-2, -4, 255),
MK(-3, -4, 255),
MK(2, 0, 255),
+ MK(2, -1, 255),
+ MK(1, -1, 255),
+ MK(0, -1, 255),
+ MK(-1, -1, 255),
+ MK(-1, 0, 255),
+ MK(-1, 1, 255),
+ MK(-1, 2, 255),
+ MK(-1, 3, 255),
+ MK(0, 3, 255),
+ MK(1, 3, 255),
+ MK(2, 3, 255),
+ MK(2, 2, 255),
+ MK(2, 1, 255),
MKEND
};