summaryrefslogtreecommitdiff
path: root/src/company_base.h
diff options
context:
space:
mode:
authorPeterN <peter@fuzzle.org>2018-05-19 22:31:46 +0100
committerGitHub <noreply@github.com>2018-05-19 22:31:46 +0100
commit42b43c998314a3fcd89aa59ad7834104dd80b053 (patch)
tree746ebb6ac021a3f97654960fc5bec74b516c9e52 /src/company_base.h
parentcad47bbefe5007a4d6c4e02b2cbc6f69484475f7 (diff)
downloadopenttd-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.h3
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;