Fix logic for low tachometerb speeds

This commit is contained in:
2025-01-06 20:05:38 +01:00
parent d72c709fff
commit 10e7f21520

View File

@@ -6951,7 +6951,7 @@ bool TTrain::Update( double const Deltatime )
{
if (fTachoVelocity >= 5) // jedzie
fTachoVelocityJump = fTachoVelocity + (2.0 - LocalRandom(3) + LocalRandom(3)) * 0.5;
else if (2 < fTachoVelocity < 5)
else if (1 <= fTachoVelocity < 5)
fTachoVelocityJump = Random(0, 4); // tu ma sie bujac jak wariat i zatrzymac na jakiejs predkosci
// fTachoVelocityJump = 0; // stoi
fTachoTimer = ff; // juz zmienil