Fix a possible issue with the ghost

This commit is contained in:
Redix 2017-10-06 22:05:54 +02:00
parent d4509111d5
commit 612fe15a32

View file

@ -203,6 +203,8 @@ void CGhost::OnNewSnapshot(bool Predicted)
{
if(m_Recording && s_LastRaceTick != -1)
m_AllowRestart = true;
if(s_LastRaceTick == -1)
m_NewRenderTick = -1;
if(GhostRecorder()->IsRecording())
GhostRecorder()->Stop(0, -1);
int StartTick = RaceTick;