mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
build 210424. soundproofing enhancement, battery sound, heating command propagation, memory cell command retrieval logic enhancement, coupling mode logic enhancement, motor overload relay threshold cab control animation fix, cab control fallback sound activation fixes,
This commit is contained in:
@@ -1147,24 +1147,24 @@ TController::cue_action( locale::string const Action, float const Actionparamete
|
||||
// consist heating
|
||||
case locale::string::driver_hint_consistheatingon: {
|
||||
if( AIControllFlag ) {
|
||||
mvControlling->HeatingAllow = true;
|
||||
mvOccupied->HeatingSwitch( true );
|
||||
}
|
||||
remove_hint( locale::string::driver_hint_consistheatingoff );
|
||||
hint(
|
||||
Action,
|
||||
[this](float const Parameter) -> bool {
|
||||
return ( mvControlling->HeatingAllow == true ); } );
|
||||
return ( mvOccupied->HeatingAllow == true ); } );
|
||||
break;
|
||||
}
|
||||
case locale::string::driver_hint_consistheatingoff: {
|
||||
if( AIControllFlag ) {
|
||||
mvControlling->HeatingAllow = false;
|
||||
mvOccupied->HeatingSwitch( false );
|
||||
}
|
||||
remove_hint( locale::string::driver_hint_consistheatingon );
|
||||
hint(
|
||||
Action,
|
||||
[this](float const Parameter) -> bool {
|
||||
return ( mvControlling->HeatingAllow == false ); } );
|
||||
return ( mvOccupied->HeatingAllow == false ); } );
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user