mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 00:59:18 +02:00
Fix 4-step switch animation
This commit is contained in:
@@ -9717,9 +9717,10 @@ void TTrain::set_cab_controls( int const Cab ) {
|
||||
}
|
||||
|
||||
if (ggModernLightDimSw.SubModel != nullptr) {
|
||||
ggModernLightDimSw.PutValue(
|
||||
mvOccupied->modernDimmerState
|
||||
);
|
||||
if (mvOccupied->modernContainOffPos)
|
||||
ggModernLightDimSw.PutValue(mvOccupied->modernDimmerState);
|
||||
else
|
||||
ggModernLightDimSw.PutValue(mvOccupied->modernDimmerState - 1);
|
||||
}
|
||||
|
||||
// motor connectors
|
||||
|
||||
Reference in New Issue
Block a user