diff options
author | PeterN <peter@fuzzle.org> | 2018-05-19 22:31:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-19 22:31:46 +0100 |
commit | 42b43c998314a3fcd89aa59ad7834104dd80b053 (patch) | |
tree | 746ebb6ac021a3f97654960fc5bec74b516c9e52 /src/company_base.h | |
parent | cad47bbefe5007a4d6c4e02b2cbc6f69484475f7 (diff) | |
download | openttd-42b43c998314a3fcd89aa59ad7834104dd80b053.tar.xz |
Change: Available railtypes is always calculated on load, so no need to load value for old savegames (#6782)
Diffstat (limited to 'src/company_base.h')
-rw-r--r-- | src/company_base.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/company_base.h b/src/company_base.h index 4d76e6251..b8ea09f95 100644 --- a/src/company_base.h +++ b/src/company_base.h @@ -67,8 +67,6 @@ struct CompanyProperties { byte colour; ///< Company colour. - RailTypes avail_railtypes; ///< Rail types available to the company. - byte block_preview; ///< Number of quarters that the company is not allowed to get new exclusive engine previews (see CompaniesGenStatistics). TileIndex location_of_HQ; ///< Northern tile of HQ; #INVALID_TILE when there is none. @@ -112,6 +110,7 @@ struct Company : CompanyPool::PoolItem<&_company_pool>, CompanyProperties { ~Company(); Livery livery[LS_END]; + RailTypes avail_railtypes; ///< Rail types available to this company. RoadTypes avail_roadtypes; ///< Road types available to this company. class AIInstance *ai_instance; |