Fix car params

This commit is contained in:
Miloslav Ciz 2024-12-03 22:31:19 +01:00
parent d6380a0e45
commit be322fb37a
3 changed files with 61 additions and 34 deletions

2
game.h
View file

@ -247,6 +247,8 @@ if ((LCR_racing.tick % 32) == 0)
LCR_game.controlMode = LCR_game.controlMode == LCR_CONTROL_MODE_FREECAM ?
LCR_CONTROL_MODE_DRIVE : LCR_CONTROL_MODE_FREECAM;
else if (LCR_keyStates[LCR_KEY_B] == 30)
LCR_racingRestart();
else if (LCR_keyStates[LCR_KEY_B] == 60)
LCR_game.debugDraw = !LCR_game.debugDraw;
while (time >= LCR_game.nextRacingTickTime)