Continue engine
This commit is contained in:
parent
e6c5283bf4
commit
3eeb4d7fc2
2 changed files with 21 additions and 7 deletions
2
game.h
2
game.h
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue