Continue engine

This commit is contained in:
drummyfish 2024-12-24 01:41:45 +01:00
parent e6c5283bf4
commit 3eeb4d7fc2
2 changed files with 21 additions and 7 deletions

2
game.h
View file

@ -396,7 +396,7 @@ LCR_GameUnit physicsInterpolationParam = LCR_GAME_UNIT -
int val = LCR_carSpeedKMH();
LCR_audioSetEngineIntensity(val < 256 ? val : 255);
LCR_audioSetEngineIntensity((2 * val) < 256 ? (2 * val) : 255);
if (val < 5) // don't show tiny oscillations when still
val = 0;