(svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
This commit is contained in:
@@ -215,7 +215,7 @@ bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const Indus
|
||||
draw_old_one = callback_res != 0;
|
||||
}
|
||||
|
||||
if (draw_old_one) DrawFoundation(ti, ti->tileh);
|
||||
if (draw_old_one) DrawFoundation(ti, FOUNDATION_LEVELED);
|
||||
}
|
||||
|
||||
NewIndustryTileResolver(&object, gfx, ti->tile, i);
|
||||
|
Reference in New Issue
Block a user