fix(blackbox): the doors' sides as the driver has them, from the rear cab swapped

The recording holds the left and right of the vehicle, and from its rear cab
the driver's left doors are the vehicle's right, as the simulator works them.
The cab panel and the events showed the vehicle's sides, so after a change of
direction to the other cab the doors opened on the wrong side. A change of the
cab tells nothing of the doors in the events.
This commit is contained in:
maj00r
2026-11-15 23:46:26 +01:00
parent 06513537f0
commit b2fd53f7bc
4 changed files with 60 additions and 4 deletions

View File

@@ -226,7 +226,7 @@ public sealed class CabPanel : Control
// The doors under them, in two columns: open, permitted, the departure signal, the steps and the lock.
top = Math.Max(bottom, top + 16 + 9 * LampRow) + 6;
context.DrawText(MapView.Text(Strings["CabGroupDoors"], Palette.DimText, 10, FontWeight.SemiBold), new Point(Pad, top));
var doors = Doors(s);
var doors = Doors(s.AsTheCabSees);
double doorColumn = width / DoorColumns;
for (int i = 0; i < doors.Length; i++)
{