mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 18:39:18 +02:00
Fix logic for low tachometerb speeds
This commit is contained in:
@@ -6921,7 +6921,7 @@ bool TTrain::Update( double const Deltatime )
|
|||||||
{
|
{
|
||||||
if (fTachoVelocity >= 5) // jedzie
|
if (fTachoVelocity >= 5) // jedzie
|
||||||
fTachoVelocityJump = fTachoVelocity + (2.0 - LocalRandom(3) + LocalRandom(3)) * 0.5;
|
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 = Random(0, 4); // tu ma sie bujac jak wariat i zatrzymac na jakiejs predkosci
|
||||||
// fTachoVelocityJump = 0; // stoi
|
// fTachoVelocityJump = 0; // stoi
|
||||||
fTachoTimer = ff; // juz zmienil
|
fTachoTimer = ff; // juz zmienil
|
||||||
|
|||||||
Reference in New Issue
Block a user