diff --git a/src/subsidy_base.h b/src/subsidy_base.h --- a/src/subsidy_base.h +++ b/src/subsidy_base.h @@ -23,8 +23,8 @@ struct Subsidy : SubsidyPool::PoolItem<& CargoID cargo_type; ///< Cargo type involved in this subsidy, CT_INVALID for invalid subsidy uint16 remaining; ///< Remaining months when this subsidy is valid CompanyID awarded; ///< Subsidy is awarded to this company; INVALID_COMPANY if it's not awarded to anyone - SourceType src_type; ///< Source of subsidised path (ST_INDUSTRY or ST_TOWN) - SourceType dst_type; ///< Destination of subsidised path (ST_INDUSTRY or ST_TOWN) + SourceType src_type; ///< Source of subsidised path (SourceType::Industry or SourceType::Town) + SourceType dst_type; ///< Destination of subsidised path (SourceType::Industry or SourceType::Town) SourceID src; ///< Index of source. Either TownID or IndustryID SourceID dst; ///< Index of destination. Either TownID or IndustryID