(svn r11050) -Codechange: Use the translated gfx, not the original one.
authorbelugas
Thu, 06 Sep 2007 03:02:38 +0000
changeset 7531 3319970f2de9
parent 7530 bfeada535347
child 7532 c3fb6bc6ddd4
(svn r11050) -Codechange: Use the translated gfx, not the original one.
src/industry_cmd.cpp
--- a/src/industry_cmd.cpp	Wed Sep 05 23:26:45 2007 +0000
+++ b/src/industry_cmd.cpp	Thu Sep 06 03:02:38 2007 +0000
@@ -1196,7 +1196,8 @@
 			if (!EnsureNoVehicle(cur_tile)) return false;
 			if (MayHaveBridgeAbove(cur_tile) && IsBridgeAbove(cur_tile)) return false;
 
-			const IndustryTileSpec *its = GetIndustryTileSpec(it->gfx);
+			const IndustryTileSpec *its = GetIndustryTileSpec(gfx);
+
 			IndustyBehaviour ind_behav = GetIndustrySpec(type)->behaviour;
 
 			if (HASBIT(its->callback_flags, CBM_INDT_SHAPE_CHECK)) {