Blinking door permition signal lights

This commit is contained in:
Królik Uszasty
2022-02-27 22:30:06 +01:00
parent 50dfa88d10
commit 3af92430c5
7 changed files with 35 additions and 8 deletions

View File

@@ -102,8 +102,9 @@ TController::cue_action( locale::string const Action, float const Actionparamete
}
// battery
case locale::string::driver_hint_cabactivation: {
if (AIControllFlag) {
if (AIControllFlag && mvOccupied->Power24vIsAvailable) {
mvOccupied->CabActivisation();
CheckVehicles();
}
remove_hint( locale::string::driver_hint_cabdeactivation );
hint(