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

diesel-powered vehicle startup ai tweaks, gfx renderer tweaks, crash fixes

This commit is contained in:
tmj-fstate
2017-12-26 17:17:06 +01:00
parent c780f3efbf
commit 10c5907c4d
8 changed files with 167 additions and 150 deletions

View File

@@ -8262,10 +8262,9 @@ bool TMoverParameters::RunCommand( std::string Command, double CValue1, double C
// end
else if (Command == "CompressorSwitch") /*NBMX*/
{
if ((CValue1 == 1))
CompressorAllow = true;
else if ((CValue1 == 0))
CompressorAllow = false;
if( CompressorPower < 2 ) {
CompressorAllow = ( CValue1 == 1 );
}
OK = SendCtrlToNext( Command, CValue1, CValue2, Couplertype );
}
else if (Command == "DoorOpen") /*NBMX*/