Fix some ghost stuff
This commit is contained in:
parent
bcf692d471
commit
dedd5505ec
3 changed files with 20 additions and 11 deletions
8
racing.h
8
racing.h
|
@ -120,7 +120,7 @@ struct
|
|||
uint16_t currentEvent;
|
||||
uint16_t currentFrame;
|
||||
uint32_t achievedTime;
|
||||
} LCR_replay;
|
||||
} LCR_replay; // TODO: move inside LCR_racing?
|
||||
|
||||
/**
|
||||
Gets times of the run in milliseconds.
|
||||
|
@ -326,8 +326,6 @@ int LCR_replayHasFinished(void)
|
|||
}
|
||||
|
||||
return LCR_replay.currentEvent > LCR_replay.eventCount;
|
||||
|
||||
// return LCR_replay.currentEvent >= LCR_replay.eventCount;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -957,8 +955,8 @@ void LCR_racingInit(void)
|
|||
|
||||
/**
|
||||
Gets current car transformation intended for rendering, i.e. potentially with
|
||||
smoothing and interpolation applied to the underlying internal state in the
|
||||
physics engine.
|
||||
smoothing and interpolation (by LCR_GameUnits) applied to the underlying
|
||||
internal state in the physics engine.
|
||||
*/
|
||||
void LCR_racingGetCarTransform(LCR_GameUnit position[3],
|
||||
LCR_GameUnit rotation[3], LCR_GameUnit interpolationParam)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue