(svn r10963) -Revert(10700): Although the idea was good, it was more prone of errors than usefull.

So now, it will be better to jump to the overriden tile when it is been marked as an override
This commit is contained in:
belugas
2007-08-22 01:16:08 +00:00
parent b5627afcea
commit d921cf88a3
3 changed files with 6 additions and 11 deletions

View File

@@ -87,8 +87,8 @@ uint32 GetIndustryIDAtOffset(TileIndex new_tile, TileIndex old_tile, const Indus
if (GetIndustryIndex(new_tile) == i->index) { // Does it belong to the same industry?
IndustryGfx gfx = GetIndustryGfx(new_tile);
const IndustryTileSpec *indtsp = GetIndustryTileSpec(gfx, false);
const IndustryTileSpec *indold = GetIndustryTileSpec(GetIndustryGfx(old_tile), false);
const IndustryTileSpec *indtsp = GetIndustryTileSpec(gfx);
const IndustryTileSpec *indold = GetIndustryTileSpec(GetIndustryGfx(old_tile));
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 */