mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
bullet traces fixes
This commit is contained in:
1 parent
65e8558794
commit
7d213a1f32
4 files changed
+21
-29
No files matched your search
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user