Make trains break down after collision with road vehicle.

This commit is contained in:
Jonathan G Rennison
2017-06-06 20:20:33 +01:00
parent 44fa555c6d
commit 350c2bb24f
7 changed files with 48 additions and 11 deletions

View File

@@ -87,6 +87,7 @@ enum BreakdownType {
BREAKDOWN_EM_STOP = 1, ///< Emergency stop
BREAKDOWN_LOW_SPEED = 2, ///< Lower max speed
BREAKDOWN_LOW_POWER = 3, ///< Power reduction
BREAKDOWN_RV_CRASH = 4, ///< Train hit road vehicle
BREAKDOWN_AIRCRAFT_SPEED = BREAKDOWN_CRITICAL, ///< Lower speed until the next airport
BREAKDOWN_AIRCRAFT_DEPOT = BREAKDOWN_EM_STOP, ///< We have to visit a depot at the next airport