diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-22 11:20:36 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-03-22 11:20:36 +0100 |
commit | 7d213a1f32c4e8cd45d22f73c637bff0edf731fb (patch) | |
tree | adf53b3a4d266bef6b0e0c2c280c758027fee09a /src/control/Replay.cpp | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-7d213a1f32c4e8cd45d22f73c637bff0edf731fb.tar re3-7d213a1f32c4e8cd45d22f73c637bff0edf731fb.tar.gz re3-7d213a1f32c4e8cd45d22f73c637bff0edf731fb.tar.bz2 re3-7d213a1f32c4e8cd45d22f73c637bff0edf731fb.tar.lz re3-7d213a1f32c4e8cd45d22f73c637bff0edf731fb.tar.xz re3-7d213a1f32c4e8cd45d22f73c637bff0edf731fb.tar.zst re3-7d213a1f32c4e8cd45d22f73c637bff0edf731fb.zip |
Diffstat (limited to 'src/control/Replay.cpp')
-rw-r--r-- | src/control/Replay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp index 5d651748..a68dd5e7 100644 --- a/src/control/Replay.cpp +++ b/src/control/Replay.cpp @@ -280,7 +280,7 @@ void CReplay::RecordThisFrame(void) } memory_required += sizeof(tPedUpdatePacket); } - for (uint8 i = 0; i < CBulletTraces::NUM_BULLET_TRACES; i++) { + for (uint8 i = 0; i < NUMBULLETTRACES; i++) { if (!CBulletTraces::aTraces[i].m_bInUse) continue; memory_required += sizeof(tBulletTracePacket); @@ -340,7 +340,7 @@ void CReplay::RecordThisFrame(void) } StorePedUpdate(p, i); } - for (uint8 i = 0; i < CBulletTraces::NUM_BULLET_TRACES; i++){ + for (uint8 i = 0; i < NUMBULLETTRACES; i++){ if (!CBulletTraces::aTraces[i].m_bInUse) continue; tBulletTracePacket* bt = (tBulletTracePacket*)&Record.m_pBase[Record.m_nOffset]; |