(svn r11050) -Codechange: Use the translated gfx, not the original one.
authorbelugas
Thu, 06 Sep 2007 03:02:38 +0000
changeset 8027 80ddda328596
parent 8026 269979f5319d
child 8028 8a7fb284410f
(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)) {