16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 03:09:18 +02:00

ai braking logic tweaks and bug fixes

This commit is contained in:
tmj-fstate
2018-07-19 22:11:22 +02:00
parent cd10b72821
commit 460bf6d382
2 changed files with 16 additions and 7 deletions

View File

@@ -4365,7 +4365,8 @@ bool TTrain::Update( double const Deltatime )
// Odskakiwanie hamulce EP
if( false == (
( input::command == user_command::trainbrakeset )
|| ( input::command == user_command::trainbrakedecrease ) ) ) {
|| ( input::command == user_command::trainbrakedecrease )
|| ( input::command == user_command::trainbrakecharging ) ) ) {
set_train_brake( 0 );
}
}