mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 09:59:18 +02:00
build 170916. mouse support for pantograph valve and compressor, minor tweak in ai route selection for cars
This commit is contained in:
@@ -6735,9 +6735,11 @@ void TTrain::set_cab_controls() {
|
||||
if( true == bCabLightDim ) {
|
||||
ggCabLightDimButton.PutValue( 1.0 );
|
||||
}
|
||||
if( true == InstrumentLightActive ) {
|
||||
ggInstrumentLightButton.PutValue( 1.0 );
|
||||
}
|
||||
|
||||
ggInstrumentLightButton.PutValue( (
|
||||
InstrumentLightActive ?
|
||||
1.0 :
|
||||
0.0 ) );
|
||||
// doors
|
||||
// NOTE: we're relying on the cab models to have switches reversed for the rear cab(?)
|
||||
ggDoorLeftButton.PutValue( mvOccupied->DoorLeftOpened ? 1.0 : 0.0 );
|
||||
|
||||
Reference in New Issue
Block a user