Add a minimum visible height and no ground tile parameter to DrawTileProc.
Filter out tile parts which are entirely outside the drawing area.
This commit is contained in:
@@ -317,7 +317,7 @@ static IndustryDrawTileProc * const _industry_draw_tile_procs[5] = {
|
||||
IndustryDrawCoalPlantSparks,
|
||||
};
|
||||
|
||||
static void DrawTile_Industry(TileInfo *ti)
|
||||
static void DrawTile_Industry(TileInfo *ti, DrawTileProcParams params)
|
||||
{
|
||||
IndustryGfx gfx = GetIndustryGfx(ti->tile);
|
||||
Industry *ind = Industry::GetByTile(ti->tile);
|
||||
|
Reference in New Issue
Block a user