mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 03:09:18 +02:00
Manual and automatic sanding working independently in EIM vehicles
This commit is contained in:
committed by
tmj-fstate
parent
3153ffc499
commit
b6ca21d280
@@ -1437,13 +1437,13 @@ void TTrain::OnCommand_sandboxactivate( TTrain *Train, command_data const &Comma
|
||||
// visual feedback
|
||||
Train->ggSandButton.UpdateValue( 1.0, Train->dsbSwitch );
|
||||
|
||||
Train->mvControlled->Sandbox( true );
|
||||
Train->mvControlled->SandboxManual( true );
|
||||
}
|
||||
else if( Command.action == GLFW_RELEASE) {
|
||||
// visual feedback
|
||||
Train->ggSandButton.UpdateValue( 0.0 );
|
||||
|
||||
Train->mvControlled->Sandbox( false );
|
||||
Train->mvControlled->SandboxManual( false );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user