From 1e650e375a72d03ed4c68cd6a2619ab1c7529589 Mon Sep 17 00:00:00 2001 From: jerrrrycho Date: Sun, 8 Nov 2026 12:32:28 +0100 Subject: [PATCH] docs: why the inspector puts a vehicle without G on P in a train on G (eu07/maszyna#350) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- vehicle/brakesetting.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vehicle/brakesetting.cpp b/vehicle/brakesetting.cpp index 785bfbd6d..a55d3d751 100644 --- a/vehicle/brakesetting.cpp +++ b/vehicle/brakesetting.cpp @@ -142,6 +142,10 @@ std::vector choose(std::vector 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; }