summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorJack Baron <jackmbaron@gmail.com>2019-10-18 01:47:29 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-10-19 20:31:44 +0100
commit7c9dedb94f3b3ebca222f544f7d7502f22d03bb7 (patch)
tree774c0a7e71ef1db71f3618987d5ccede2c810e28 /src/settings_type.h
parent53f8d0b815a7be57fb6489d95e67b9002ade14d7 (diff)
downloadopenttd-7c9dedb94f3b3ebca222f544f7d7502f22d03bb7.tar.xz
Feature: Configure minimum share trading years
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 45d32105b..0033aaf1c 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -472,6 +472,7 @@ struct EconomySettings {
bool bribe; ///< enable bribing the local authority
bool smooth_economy; ///< smooth economy
bool allow_shares; ///< allow the buying/selling of shares
+ uint8 min_years_for_shares; ///< minimum age of a company for it to trade shares
uint8 feeder_payment_share; ///< percentage of leg payment to virtually pay in feeder systems
byte dist_local_authority; ///< distance for town local authority, default 20
bool exclusive_rights; ///< allow buying exclusive rights