Add setting to control whether trains can crash with other companies'.

This commit is contained in:
Jonathan G Rennison
2016-02-25 22:08:27 +00:00
parent 66bac3808e
commit 1818a83e63
5 changed files with 19 additions and 0 deletions

View File

@@ -462,6 +462,7 @@ struct VehicleSettings {
byte extend_vehicle_life; ///< extend vehicle life by this many years
byte road_side; ///< the side of the road vehicles drive on
uint8 plane_crashes; ///< number of plane crashes, 0 = none, 1 = reduced, 2 = normal
bool no_train_crash_other_company; ///< trains cannot crash with trains from other companies
};
/** Settings related to the economy. */