Fix small stuff

This commit is contained in:
Miloslav Ciz 2025-05-31 18:23:13 +02:00
parent f7a24f2aa1
commit 0513b32540
4 changed files with 27 additions and 5 deletions

4
game.h
View file

@ -1251,7 +1251,7 @@ void LCR_gameDraw3DView(void)
LCR_rendererSetCarTransform(carTransform,carTransform + 3);
if (LCR_game.ghost.active)
if (LCR_game.ghost.active && LCR_game.state != LCR_GAME_STATE_RUN_STARTING)
{
LCR_rendererSetGhostVisibility(1);
LCR_gameGhostGetTransform(LCR_racing.tick,carTransform,carTransform + 3);
@ -1312,7 +1312,7 @@ void LCR_gameDraw3DView(void)
(LCR_rendererComputeTextHeight(_FONT_SIZE) + LCR_GUI_GAP),0,_FONT_SIZE);
#endif
LCR_gameTimeToStr(LCR_game.runTime,str);
LCR_gameTimeToStr(LCR_game.runTime * LCR_RACING_TICK_MS,str);
if (LCR_game.state != LCR_GAME_STATE_RUN_FINISHED)
LCR_rendererDrawText(str,LCR_GUI_GAP,LCR_EFFECTIVE_RESOLUTION_Y -