summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2008-01-10 00:53:17 +0000
committerbelugas <belugas@openttd.org>2008-01-10 00:53:17 +0000
commit0181678cdedc9c02934a1add07fe9f81458b151f (patch)
tree31570d2dde657c9e4e38d1420eb3ab30cd711a97
parentd30321d2afcd859063e22538edabea5b9b936ce8 (diff)
downloadopenttd-0181678cdedc9c02934a1add07fe9f81458b151f.tar.xz
(svn r11804) -Fix(r11797,FS#1636): Industry tiles should receive the same medecine as indstries themselves regarding the resolver's object
-rw-r--r--src/newgrf_industrytiles.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp
index a26d7167f..8c4a55634 100644
--- a/src/newgrf_industrytiles.cpp
+++ b/src/newgrf_industrytiles.cpp
@@ -166,6 +166,7 @@ static void NewIndustryTileResolver(ResolverObject *res, IndustryGfx gfx, TileIn
res->u.industry.tile = tile;
res->u.industry.ind = indus;
res->u.industry.gfx = gfx;
+ res->u.industry.type = indus->type;
res->callback = CBID_NO_CALLBACK;
res->callback_param1 = 0;