Codechange: remove need for SetDParamX

This commit is contained in:
Rubidium
2023-06-11 21:16:16 +02:00
committed by rubidium42
parent 6c6f365d2f
commit f86500df92
5 changed files with 4 additions and 15 deletions

View File

@@ -476,7 +476,7 @@ static void GetTileDesc_Industry(TileIndex tile, TileDesc *td)
td->owner[0] = i->owner;
td->str = is->name;
if (!IsIndustryCompleted(tile)) {
SetDParamX(td->dparam, 0, td->str);
td->dparam = td->str;
td->str = STR_LAI_TOWN_INDUSTRY_DESCRIPTION_UNDER_CONSTRUCTION;
}