summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-09-15 21:44:55 +0000
committerpeter1138 <peter1138@openttd.org>2006-09-15 21:44:55 +0000
commitd0640187bec40dc0d528bf242da42c8aeab4bb74 (patch)
tree81cc5a0e245ed35475fc578e76b15efee09f2eb6
parentdc683f0fe5029c2258d557b37a59124d370535c6 (diff)
downloadopenttd-d0640187bec40dc0d528bf242da42c8aeab4bb74.tar.xz
(svn r6459) - Fix (r6433): An enum mixup caused oilrigs to not have a station part. Thanks to Znuff for pointing out.
-rw-r--r--industry_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index 4b330a03d..07f1de47b 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -600,8 +600,8 @@ static void MakeIndustryTileBigger(TileIndex tile)
CreateIndustryEffectSmoke(tile);
break;
- case GFX_OILRIG_BASE:
- if (GetIndustryGfx(tile + TileDiffXY(0, 1)) == GFX_OILRIG_BASE) BuildOilRig(tile);
+ case GFX_OILRIG_1:
+ if (GetIndustryGfx(tile + TileDiffXY(0, 1)) == GFX_OILRIG_1) BuildOilRig(tile);
break;
case GFX_TOY_FACTORY: