changeset 8240:5dc230e1a851 draft

(svn r11804) -Fix(r11797,FS#1636): Industry tiles should receive the same medecine as indstries themselves regarding the resolver's object
author belugas <belugas@openttd.org>
date Thu, 10 Jan 2008 00:53:17 +0000
parents 010b7ca04493
children 4648f777da55
files src/newgrf_industrytiles.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf_industrytiles.cpp
+++ b/src/newgrf_industrytiles.cpp
@@ -166,6 +166,7 @@
 	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;