Smooth replay finish
This commit is contained in:
parent
5a44fb515b
commit
ab70d727b8
8 changed files with 36 additions and 12 deletions
4
game.h
4
game.h
|
@ -1275,8 +1275,8 @@ void LCR_gameDraw3DView(void)
|
|||
#endif
|
||||
? LCR_GAME_UNIT -
|
||||
((LCR_game.nextRacingTickTime - LCR_game.time) * LCR_GAME_UNIT)
|
||||
/ LCR_RACING_TICK_MS_RT
|
||||
: LCR_GAME_UNIT / 2;
|
||||
/ LCR_RACING_TICK_MS_RT // 32: magic constant
|
||||
: _LCR_min(LCR_GAME_UNIT,32 * (LCR_game.time - LCR_game.stateStartTime));
|
||||
|
||||
LCR_racingGetCarTransform(carTransform,carTransform + 3,
|
||||
physicsInterpolationParam);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue