mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-10 06:04:09 +00:00
bullet traces fixes
This commit is contained in:
parent
65e8558794
commit
7d213a1f32
4 changed files with 21 additions and 29 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue