- fix InitPadRecording reversing bug

This commit is contained in:
Ilya Shurumov 2020-05-19 21:45:40 +06:00
parent 0cd7771884
commit e5291cbbdd

View File

@ -98,7 +98,10 @@ void InitPadRecording(void)
int cutsceneSize = CalcInGameCutsceneSize();
for (i = 0; i < NumPlayers; i++)
{
AllocateReplayStream(&ReplayStreams[i], ((int)(pcVar1 + (-cutsceneSize - (int)pcVar2)) / sizeof(PADRECORD)) / NumPlayers);
NumReplayStreams++;
}
ReplaySize = (replayptr - ReplayStart);
}