Fix replay bug
This commit is contained in:
parent
1454ae446e
commit
50c03623a4
3 changed files with 22 additions and 18 deletions
4
game.h
4
game.h
|
@ -574,8 +574,8 @@ void _LCR_gamePrepareGhost(void)
|
|||
|
||||
while (1)
|
||||
{
|
||||
if (LCR_racing.tick % (LCR_SETTING_GHOST_STEP << LCR_game.ghost.stretch)
|
||||
== 0 || LCR_replayHasFinished())
|
||||
if ((LCR_racing.tick % (LCR_SETTING_GHOST_STEP << LCR_game.ghost.stretch)
|
||||
== 0) || LCR_replayHasFinished())
|
||||
{
|
||||
LCR_racingGetCarTransform(carTransform,carTransform + 3,
|
||||
LCR_GAME_UNIT / 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue