diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 10:30:58 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-16 10:30:58 +0200 |
commit | 9067469f7c4a469e713a37ea6b86920397168e13 (patch) | |
tree | 6d1a7117a62d14ac7434115d8a6525d29a28c8c1 /src/peds/Population.cpp | |
parent | a few fixes (diff) | |
download | re3-9067469f7c4a469e713a37ea6b86920397168e13.tar re3-9067469f7c4a469e713a37ea6b86920397168e13.tar.gz re3-9067469f7c4a469e713a37ea6b86920397168e13.tar.bz2 re3-9067469f7c4a469e713a37ea6b86920397168e13.tar.lz re3-9067469f7c4a469e713a37ea6b86920397168e13.tar.xz re3-9067469f7c4a469e713a37ea6b86920397168e13.tar.zst re3-9067469f7c4a469e713a37ea6b86920397168e13.zip |
Diffstat (limited to 'src/peds/Population.cpp')
-rw-r--r-- | src/peds/Population.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/peds/Population.cpp b/src/peds/Population.cpp index 14bd042c..567f9c0f 100644 --- a/src/peds/Population.cpp +++ b/src/peds/Population.cpp @@ -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); |