mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-20 06:55:02 +01:00
docs: why the inspector puts a vehicle without G on P in a train on G (eu07/maszyna#350)
Cw-1 §19.9 cuts the brake of such a vehicle out; the inspector keeps the earlier P, as it has no record to put a cut out brake back with.
This commit is contained in:
@@ -142,6 +142,10 @@ std::vector<int> choose(std::vector<vehicle> const &Consist) {
|
||||
}
|
||||
case train_setting::freight_g:
|
||||
default: {
|
||||
// NOTE: Cw-1 §19.9 wants the brake of a vehicle without G (a passenger car with P and R only) cut out in a
|
||||
// train braked on G. It's put on P instead, as before: a brake cut out by the inspector would have to be
|
||||
// remembered and put back when the train is made up again, and the simulator has no such record yet.
|
||||
// The same goes for the vehicles kept on G in the long locomotive setting above (freight_gp)
|
||||
settings.emplace_back(pick(item.delays, bdelay_G, bdelay_P));
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user