mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Fix logic for low tachometerb speeds
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user