mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r11050) -Codechange: Use the translated gfx, not the original one.
This commit is contained in:
parent
07c67183bd
commit
71a23846d3
@ -1196,7 +1196,8 @@ static bool CheckIfIndustryTilesAreFree(TileIndex tile, const IndustryTileTable
|
|||||||
if (!EnsureNoVehicle(cur_tile)) return false;
|
if (!EnsureNoVehicle(cur_tile)) return false;
|
||||||
if (MayHaveBridgeAbove(cur_tile) && IsBridgeAbove(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;
|
IndustyBehaviour ind_behav = GetIndustrySpec(type)->behaviour;
|
||||||
|
|
||||||
if (HASBIT(its->callback_flags, CBM_INDT_SHAPE_CHECK)) {
|
if (HASBIT(its->callback_flags, CBM_INDT_SHAPE_CHECK)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user