mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Fixed activation for AutomaticCabActivation
This commit is contained in:
@@ -6000,7 +6000,8 @@ TController::determine_consist_state() {
|
||||
{
|
||||
cue_action( locale::string::driver_hint_cabactivation );
|
||||
}
|
||||
else if ((mvOccupied->CabActive == -mvOccupied->CabOccupied) || (!mvOccupied->CabMaster) || (!mvOccupied->Power24vIsAvailable))
|
||||
else if (!mvOccupied->AutomaticCabActivation
|
||||
&& ( (mvOccupied->CabActive == -mvOccupied->CabOccupied) || (!mvOccupied->CabMaster) || (!mvOccupied->Power24vIsAvailable) ) )
|
||||
{
|
||||
cue_action( locale::string::driver_hint_cabdeactivation );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user