summaryrefslogtreecommitdiff
path: root/industry_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 /industry_cmd.c
parent3067b9ac635c69fc93692fcddda91bdb48d3414a (diff)
downloadopenttd-7af3360c5aa6c5b9cfdad97351bcc7644b4ab5c1.tar.xz
(svn r44) Fix: Coast line near edge of map and near oilrigs (Dribbel)
Diffstat (limited to 'industry_cmd.c')
-rw-r--r--industry_cmd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index 17fa7bcd2..48560cfba 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -725,6 +725,14 @@ static void TileLoop_Industry(uint tile)
#define SET_AND_UNANIMATE(tile,a,b) { _map5[tile]=a; _map_owner[tile]=b; DeleteAnimatedTile(tile); }
switch(_map5[tile]) {
+ case 0x18: // coast line at oilrigs
+ case 0x19:
+ case 0x1A:
+ case 0x1B:
+ case 0x1C:
+ TileLoop_Water(tile);
+ break;
+
case 0:
if (!(_tick_counter & 0x400) && CHANCE16(1,2))
SET_AND_ANIMATE(tile,1,0x80);