File diff r9657:c4a8f9c442d7 → r9658:ead5a2d1816a
src/town_cmd.cpp
Show inline comments
 
@@ -2145,17 +2145,21 @@ static void TownActionAdvertiseLarge(Tow
 
}
 

	
 
static void TownActionRoadRebuild(Town *t)
 
{
 
	t->road_build_months = 6;
 

	
 
	char *company_name = MallocT<char>(64);
 
	SetDParam(0, _current_player);
 
	GetString(company_name, STR_COMPANY_NAME, company_name + 64);
 

	
 
	SetDParam(0, t->index);
 
	SetDParam(1, _current_player);
 
	SetDParamStr(1, company_name);
 

	
 
	AddNewsItem(STR_2055_TRAFFIC_CHAOS_IN_ROAD_REBUILDING,
 
		NS_GENERAL, t->xy, 0);
 
		NS_GENERAL, t->xy, 0, company_name);
 
}
 

	
 
static bool DoBuildStatueOfCompany(TileIndex tile, TownID town_id)
 
{
 
	/* Statues can be build on slopes, just like houses. Only the steep slopes is a no go. */
 
	if (IsSteepSlope(GetTileSlope(tile, NULL))) return false;