summaryrefslogtreecommitdiffstats
path: root/src/control/Replay.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-09-14 19:53:04 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-09-14 19:53:04 +0200
commit57f24ad5336594c3355c83c2571ea373f6167a62 (patch)
treef3ff779ddc0716189677d63dfa9ccbc87d2d29c6 /src/control/Replay.cpp
parentMerge remote-tracking branch 'upstream/master' into carctrl_dev (diff)
downloadre3-57f24ad5336594c3355c83c2571ea373f6167a62.tar
re3-57f24ad5336594c3355c83c2571ea373f6167a62.tar.gz
re3-57f24ad5336594c3355c83c2571ea373f6167a62.tar.bz2
re3-57f24ad5336594c3355c83c2571ea373f6167a62.tar.lz
re3-57f24ad5336594c3355c83c2571ea373f6167a62.tar.xz
re3-57f24ad5336594c3355c83c2571ea373f6167a62.tar.zst
re3-57f24ad5336594c3355c83c2571ea373f6167a62.zip
Diffstat (limited to 'src/control/Replay.cpp')
-rw-r--r--src/control/Replay.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp
index c157786d..65ee2840 100644
--- a/src/control/Replay.cpp
+++ b/src/control/Replay.cpp
@@ -960,6 +960,7 @@ void CReplay::EmptyReplayBuffer(void)
{
if (Mode == MODE_PLAYBACK)
return;
+ Record.m_nOffset = 0;
for (int i = 0; i < 8; i++){
BufferStatus[i] = REPLAYBUFFER_UNUSED;
}