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
commit26bceabaaac84069a15108314cb0201b7381a724 (patch)
tree81cc5a0e245ed35475fc578e76b15efee09f2eb6
parent7f13f4e82f0b884d388a60bda5a457a9b454971c (diff)
downloadopenttd-26bceabaaac84069a15108314cb0201b7381a724.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: