mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-08 04:34:09 +00:00
little cleanup
This commit is contained in:
parent
66d83c6470
commit
c661485ef7
8 changed files with 27 additions and 35 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue