build 190411. configurable diesel-electric engine momentum, minor bug fixes

This commit is contained in:
tmj-fstate
2019-04-14 16:33:48 +02:00
parent 934163a623
commit 4794ec07ec
6 changed files with 17 additions and 11 deletions

View File

@@ -6625,14 +6625,16 @@ void TController::DirectionForward(bool forward)
// do przodu w obecnej kabinie
while( ( mvOccupied->ActiveDir <= 0 )
&& ( mvOccupied->DirectionForward() ) ) {
; // all work is done in the header
// force scan table update
iTableDirection = 0;
}
}
else {
// do tyłu w obecnej kabinie
while( ( mvOccupied->ActiveDir >= 0 )
&& ( mvOccupied->DirectionBackward() ) ) {
; // all work is done in the header
// force scan table update
iTableDirection = 0;
}
}
if( mvOccupied->TrainType == dt_SN61 ) {