mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 16:34:08 +00:00
Adding getters and setters for type and status
This commit is contained in:
parent
cf5a404f6b
commit
7d758f3a9f
41 changed files with 256 additions and 249 deletions
|
@ -850,7 +850,7 @@ bool CReplay::PlayBackThisFrameInterpolation(CAddressInReplayBuffer *buffer, flo
|
|||
else{
|
||||
new_v = new(vp->index << 8) CAutomobile(mi, 2);
|
||||
}
|
||||
new_v->m_status = STATUS_PLAYER_PLAYBACKFROMBUFFER;
|
||||
new_v->SetStatus(STATUS_PLAYER_PLAYBACKFROMBUFFER);
|
||||
vp->matrix.DecompressIntoFullMatrix(new_v->GetMatrix());
|
||||
new_v->m_currentColour1 = vp->primary_color;
|
||||
new_v->m_currentColour2 = vp->secondary_color;
|
||||
|
@ -870,7 +870,7 @@ bool CReplay::PlayBackThisFrameInterpolation(CAddressInReplayBuffer *buffer, flo
|
|||
}
|
||||
else {
|
||||
CPed* new_p = new(ph->index << 8) CCivilianPed((ePedType)ph->pedtype, ph->mi);
|
||||
new_p->m_status = STATUS_PLAYER_PLAYBACKFROMBUFFER;
|
||||
new_p->SetStatus(STATUS_PLAYER_PLAYBACKFROMBUFFER);
|
||||
new_p->GetMatrix().SetUnity();
|
||||
CWorld::Add(new_p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue