mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-08 01:14:09 +00:00
CPhone, CPlayerInfo, CFire, CWorld
This commit is contained in:
parent
eea84b86b8
commit
dad7782ff0
21 changed files with 554 additions and 139 deletions
|
@ -346,7 +346,7 @@ void CReplay::StorePedUpdate(CPed *ped, int id)
|
|||
pp->matrix.CompressFromFullMatrix(ped->GetMatrix());
|
||||
pp->assoc_group_id = ped->m_animGroup;
|
||||
/* Would be more sane to use GetJustIndex(ped->m_pMyVehicle) in following assignment */
|
||||
if (ped->bInVehicle && ped->m_pMyVehicle)
|
||||
if (ped->InVehicle())
|
||||
pp->vehicle_index = (CPools::GetVehiclePool()->GetIndex(ped->m_pMyVehicle) >> 8) + 1;
|
||||
else
|
||||
pp->vehicle_index = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue