summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2015-02-06 21:54:19 +0000
committerfrosch <frosch@openttd.org>2015-02-06 21:54:19 +0000
commit4846c7ed6b6f024ff31c826c5ede3fbea25ef5cb (patch)
treed1e7283916a83be64d49f2b75875aed6b355e653 /src/table
parent3a270388d79e4d87e3a2461a07033d97a6cc7f63 (diff)
downloadopenttd-4846c7ed6b6f024ff31c826c5ede3fbea25ef5cb.tar.xz
(svn r27137) -Fix (r0): Oilrig empty-tile checks were incorrect due to wrong TileIndexDiff->TileIndexDiffC conversion.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/build_industry.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/table/build_industry.h b/src/table/build_industry.h
index 9c9a28d48..5ae93bc7e 100644
--- a/src/table/build_industry.h
+++ b/src/table/build_industry.h
@@ -254,7 +254,6 @@ static const IndustryTileTable _tile_table_oil_rig_0[] = {
MK(1, 0, 26),
MK(1, 1, 27),
MK(1, 2, 28),
- MK(-4, -5, 255),
MK(-4, -4, 255),
MK(-4, -3, 255),
MK(-4, -2, 255),
@@ -265,9 +264,10 @@ static const IndustryTileTable _tile_table_oil_rig_0[] = {
MK(-4, 3, 255),
MK(-4, 4, 255),
MK(-4, 5, 255),
- MK(-3, 5, 255),
- MK(-2, 5, 255),
- MK(-1, 5, 255),
+ MK(-4, 6, 255),
+ MK(-3, 6, 255),
+ MK(-2, 6, 255),
+ MK(-1, 6, 255),
MK(0, 6, 255),
MK(1, 6, 255),
MK(2, 6, 255),
@@ -289,9 +289,9 @@ static const IndustryTileTable _tile_table_oil_rig_0[] = {
MK(2, -4, 255),
MK(1, -4, 255),
MK(0, -4, 255),
- MK(-1, -5, 255),
- MK(-2, -5, 255),
- MK(-3, -5, 255),
+ MK(-1, -4, 255),
+ MK(-2, -4, 255),
+ MK(-3, -4, 255),
MK(2, 0, 255),
MKEND
};