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

Another random stop variable randomization logic fix

This commit is contained in:
2025-01-06 20:14:30 +01:00
parent 10e7f21520
commit 105e628382

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 (1 <= fTachoVelocity < 5)
else if (fTachoVelocity < 5 && fTachoVelocity > 1)
fTachoVelocityJump = Random(0, 4); // tu ma sie bujac jak wariat i zatrzymac na jakiejs predkosci
// fTachoVelocityJump = 0; // stoi
fTachoTimer = ff; // juz zmienil