mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-10 01:50:36 +00:00
more attractor fixes
This commit is contained in:
parent
cf5db73117
commit
9067469f7c
3 changed files with 36 additions and 23 deletions
|
@ -1123,7 +1123,8 @@ CPopulation::AddDeadPedInFrontOfCar(const CVector& pos, CVehicle* pCulprit)
|
|||
return nil;
|
||||
CPed* pPed = CPopulation::AddPed(PEDTYPE_CIVMALE, MI_MALE01, pos); // TODO(MIAMI): 4th parameter
|
||||
pPed->SetDie(ANIM_KO_SHOT_FRONT1, 4.0f, 0.0f);
|
||||
//TODO(MIAMI): set money == 0
|
||||
//TODO(MIAMI): uncomment
|
||||
//pPed->m_nPedMoney = 0;
|
||||
pPed->bDeadPedInFrontOfCar = true;
|
||||
pPed->m_vehicleInAccident = pCulprit;
|
||||
pCulprit->RegisterReference((CEntity**)&pPed->m_vehicleInAccident);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue