File diff r7336:adf4f7c9574b → r7337:e3b141f0eeba
src/newgrf_industries.cpp
Show inline comments
 
@@ -87,8 +87,8 @@ uint32 GetIndustryIDAtOffset(TileIndex n
 

	
 
		if (GetIndustryIndex(new_tile) == i->index) {  // Does it belong to the same industry?
 
			IndustryGfx gfx = GetIndustryGfx(new_tile);
 
			const IndustryTileSpec *indtsp = GetIndustryTileSpec(gfx);
 
			const IndustryTileSpec *indold = GetIndustryTileSpec(GetIndustryGfx(old_tile));
 
			const IndustryTileSpec *indtsp = GetIndustryTileSpec(gfx, false);
 
			const IndustryTileSpec *indold = GetIndustryTileSpec(GetIndustryGfx(old_tile), false);
 

	
 
			if (gfx < NEW_INDUSTRYOFFSET) {  // Does it belongs to an old type?
 
				/* It is an old tile.  We have to see if it's been overriden */