mirror of
https://github.com/halpz/re3.git
synced 2025-06-30 04:36:18 +00:00
bullet traces fixes
This commit is contained in:
@ -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