Implement -noreplay from Carmageddon DOS version
This commit is contained in:
parent
d67f04e6c6
commit
7e98d3b887
|
|
@ -864,6 +864,11 @@ void Win32AllocateActionReplayBuffer(void) {
|
|||
void PDAllocateActionReplayBuffer(char** pBuffer, tU32* pBuffer_size) {
|
||||
LOG_TRACE("(%p, %p)", pBuffer, pBuffer_size);
|
||||
|
||||
if (gReplay_override) {
|
||||
*pBuffer = NULL;
|
||||
*pBuffer_size = 0;
|
||||
return;
|
||||
}
|
||||
Win32AllocateActionReplayBuffer();
|
||||
*pBuffer = gWin32_action_replay_buffer;
|
||||
*pBuffer_size = gWin32_action_replay_buffer_size;
|
||||
|
|
|
|||
Loading…
Reference in New Issue