summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-13 19:52:45 +0000
committerdominik <dominik@openttd.org>2004-08-13 19:52:45 +0000
commit7af3360c5aa6c5b9cfdad97351bcc7644b4ab5c1 (patch)
tree77de48e3da538eaaeb25646d50e1c7b2575105e6 /station_cmd.c
parent3067b9ac635c69fc93692fcddda91bdb48d3414a (diff)
downloadopenttd-7af3360c5aa6c5b9cfdad97351bcc7644b4ab5c1.tar.xz
(svn r44) Fix: Coast line near edge of map and near oilrigs (Dribbel)
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 74a3308c2..d10e9ef3b 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -1841,6 +1841,11 @@ static void TileLoop_Station(uint tile)
// treat a bouy tile as water.
else if (_map5[tile] == 0x52)
TileLoop_Water(tile);
+
+ // treat a oilrig (the station part) as water
+ else if (_map5[tile] == 0x4B)
+ TileLoop_Water(tile);
+
}