16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 17:29:18 +02:00

auxiliary vehicle lights, minor bug fixes

This commit is contained in:
tmj-fstate
2020-06-17 23:45:59 +02:00
parent 765cdd58ad
commit 0af9e84453
6 changed files with 149 additions and 93 deletions

View File

@@ -11327,7 +11327,7 @@ bool TMoverParameters::SendCtrlToNext( std::string const CtrlCommand, double con
// Ra: był problem z propagacją, jeśli w składzie jest pojazd wstawiony odwrotnie
// Ra: problem jest również, jeśli AI będzie na końcu składu
OK = ( dir != 0 ); // and Mains;
OK = true; // ( dir != 0 ); // experimentally disabled
d = ( 1 + static_cast<int>(Sign( dir )) ) / 2; // dir=-1=>d=0, dir=1=>d=1 - wysyłanie tylko w tył
if( OK ) {
// musi być wybrana niezerowa kabina