summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.cpp
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
commit88f11bbfeb253a09bacc56476783399680f20bb1 (patch)
tree31570d2dde657c9e4e38d1420eb3ab30cd711a97 /src/newgrf_industrytiles.cpp
parent0645689a870c95e736392ad5e96bb33a7af3b002 (diff)
downloadopenttd-88f11bbfeb253a09bacc56476783399680f20bb1.tar.xz
(svn r11804) -Fix(r11797,FS#1636): Industry tiles should receive the same medecine as indstries themselves regarding the resolver's object
Diffstat (limited to 'src/newgrf_industrytiles.cpp')
-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;