diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-06-05 22:13:31 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-06-05 22:13:34 +0200 |
commit | f045ce438696d2425b7a3058f12ee04098fb1597 (patch) | |
tree | 7e4d3faf3099e138aa408113624b6c4346497572 /src/peds/Population.cpp | |
parent | fix (diff) | |
download | re3-f045ce438696d2425b7a3058f12ee04098fb1597.tar re3-f045ce438696d2425b7a3058f12ee04098fb1597.tar.gz re3-f045ce438696d2425b7a3058f12ee04098fb1597.tar.bz2 re3-f045ce438696d2425b7a3058f12ee04098fb1597.tar.lz re3-f045ce438696d2425b7a3058f12ee04098fb1597.tar.xz re3-f045ce438696d2425b7a3058f12ee04098fb1597.tar.zst re3-f045ce438696d2425b7a3058f12ee04098fb1597.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Population.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Population.cpp b/src/peds/Population.cpp index ca530494..b853937b 100644 --- a/src/peds/Population.cpp +++ b/src/peds/Population.cpp @@ -1078,7 +1078,7 @@ CPopulation::AddDeadPedInFrontOfCar(const CVector& pos, CVehicle* pCulprit) if (!CModelInfo::GetModelInfo(MI_MALE01)->GetRwObject()) // strange way to check it 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); + pPed->SetDie(); pPed->m_nPedMoney = 0; pPed->bDeadPedInFrontOfCar = true; pPed->m_vehicleInAccident = pCulprit; |