@@ -613,18 +613,25 @@ static void GetAcceptedCargo_Town(TileIn
if (accepts[i] != CT_INVALID) ac[accepts[i]] = hs->cargo_acceptance[i];
}
static void GetTileDesc_Town(TileIndex tile, TileDesc *td)
{
td->str = GetHouseSpecs(GetHouseType(tile))->building_name;
const HouseSpec *hs = GetHouseSpecs(GetHouseType(tile));
td->str = hs->building_name;
if (!IsHouseCompleted(tile)) {
SetDParamX(td->dparam, 0, td->str);
td->str = STR_2058_UNDER_CONSTRUCTION;
if (hs->grffile != NULL) {
const GRFConfig *gc = GetGRFConfig(hs->grffile->grfid);
td->grf = gc->name;
td->owner[0] = OWNER_TOWN;
static TrackStatus GetTileTrackStatus_Town(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side)
/* not used */