diff options
author | aap <aap@papnet.eu> | 2019-06-30 22:55:48 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-30 22:55:48 +0200 |
commit | c661485ef74cb7dacca119c794b7b3a831549d15 (patch) | |
tree | d78bed07f2dabfef7a1185a8705d563e623ad6f8 /src/control/Replay.cpp | |
parent | Merge pull request #80 from ShFil119/special (diff) | |
download | re3-c661485ef74cb7dacca119c794b7b3a831549d15.tar re3-c661485ef74cb7dacca119c794b7b3a831549d15.tar.gz re3-c661485ef74cb7dacca119c794b7b3a831549d15.tar.bz2 re3-c661485ef74cb7dacca119c794b7b3a831549d15.tar.lz re3-c661485ef74cb7dacca119c794b7b3a831549d15.tar.xz re3-c661485ef74cb7dacca119c794b7b3a831549d15.tar.zst re3-c661485ef74cb7dacca119c794b7b3a831549d15.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Replay.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp index b6a7b8c2..1d041d2e 100644 --- a/src/control/Replay.cpp +++ b/src/control/Replay.cpp @@ -2,7 +2,7 @@ #include "patcher.h" #include "AnimBlendAssociation.h" #include "Boat.h" -#include "BulletTraces.h" +#include "SpecialFX.h" #include "CarCtrl.h" #include "CivilianPed.h" #include "Clock.h" @@ -268,8 +268,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_bFramesInUse; - bt->lifetime = CBulletTraces::aTraces[i].m_bLifeTime; + bt->frames = CBulletTraces::aTraces[i].m_framesInUse; + bt->lifetime = CBulletTraces::aTraces[i].m_lifeTime; bt->inf = CBulletTraces::aTraces[i].m_vecInf; bt->sup = CBulletTraces::aTraces[i].m_vecSup; Record.m_nOffset += sizeof(*bt); @@ -857,8 +857,8 @@ bool CReplay::PlayBackThisFrameInterpolation(CAddressInReplayBuffer *buffer, flo { tBulletTracePacket* pb = (tBulletTracePacket*)&ptr[offset]; CBulletTraces::aTraces[pb->index].m_bInUse = true; - CBulletTraces::aTraces[pb->index].m_bFramesInUse = pb->frames; - CBulletTraces::aTraces[pb->index].m_bLifeTime = pb->lifetime; + CBulletTraces::aTraces[pb->index].m_framesInUse = pb->frames; + CBulletTraces::aTraces[pb->index].m_lifeTime = pb->lifetime; CBulletTraces::aTraces[pb->index].m_vecInf = pb->inf; CBulletTraces::aTraces[pb->index].m_vecSup = pb->sup; buffer->m_nOffset += sizeof(tBulletTracePacket); |