summaryrefslogtreecommitdiffstats
path: root/src/control/Replay.cpp
diff options
context:
space:
mode:
authorRoman Masanin <36927roma@gmail.com>2020-10-11 20:40:11 +0200
committerRoman Masanin <36927roma@gmail.com>2020-10-11 20:40:11 +0200
commit7a3e1ef19a67a16d75d22144a012b1780b400f78 (patch)
treef166f76041325d16a3bad526cbec3b8833089bc8 /src/control/Replay.cpp
parentCSpecialFX and some other classes (diff)
downloadre3-7a3e1ef19a67a16d75d22144a012b1780b400f78.tar
re3-7a3e1ef19a67a16d75d22144a012b1780b400f78.tar.gz
re3-7a3e1ef19a67a16d75d22144a012b1780b400f78.tar.bz2
re3-7a3e1ef19a67a16d75d22144a012b1780b400f78.tar.lz
re3-7a3e1ef19a67a16d75d22144a012b1780b400f78.tar.xz
re3-7a3e1ef19a67a16d75d22144a012b1780b400f78.tar.zst
re3-7a3e1ef19a67a16d75d22144a012b1780b400f78.zip
Diffstat (limited to 'src/control/Replay.cpp')
-rw-r--r--src/control/Replay.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp
index 45f1a143..796e4cab 100644
--- a/src/control/Replay.cpp
+++ b/src/control/Replay.cpp
@@ -393,8 +393,8 @@ void CReplay::RecordThisFrame(void)
tBulletTracePacket* bt = (tBulletTracePacket*)&Record.m_pBase[Record.m_nOffset];
bt->type = REPLAYPACKET_BULLET_TRACES;
bt->index = i;
- bt->frames = CBulletTraces::aTraces[i].m_framesInUse;
- bt->lifetime = CBulletTraces::aTraces[i].m_lifeTime;
+// bt->frames = CBulletTraces::aTraces[i].m_framesInUse;
+// bt->lifetime = CBulletTraces::aTraces[i].m_lifeTime;
bt->inf = CBulletTraces::aTraces[i].m_vecCurrentPos;
bt->sup = CBulletTraces::aTraces[i].m_vecTargetPos;
Record.m_nOffset += sizeof(*bt);
@@ -1140,8 +1140,8 @@ bool CReplay::PlayBackThisFrameInterpolation(CAddressInReplayBuffer *buffer, flo
{
tBulletTracePacket* pb = (tBulletTracePacket*)&ptr[offset];
CBulletTraces::aTraces[pb->index].m_bInUse = true;
- CBulletTraces::aTraces[pb->index].m_framesInUse = pb->frames;
- CBulletTraces::aTraces[pb->index].m_lifeTime = pb->lifetime;
+// CBulletTraces::aTraces[pb->index].m_framesInUse = pb->frames;
+// CBulletTraces::aTraces[pb->index].m_lifeTime = pb->lifetime;
CBulletTraces::aTraces[pb->index].m_vecCurrentPos = pb->inf;
CBulletTraces::aTraces[pb->index].m_vecTargetPos = pb->sup;
buffer->m_nOffset += sizeof(tBulletTracePacket);