summaryrefslogtreecommitdiffstats
path: root/src/peds/EmergencyPed.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-03-07 20:22:43 +0100
committereray orçunus <erayorcunus@gmail.com>2020-03-11 22:48:33 +0100
commit934e9db4fc8b4bde193d95bf8f4cdf7b8d1ecd8b (patch)
tree26b313998ecea484fc7d81d32c1bdfc8b19deacf /src/peds/EmergencyPed.cpp
parentMerge pull request #342 from Nick007J/master (diff)
downloadre3-934e9db4fc8b4bde193d95bf8f4cdf7b8d1ecd8b.tar
re3-934e9db4fc8b4bde193d95bf8f4cdf7b8d1ecd8b.tar.gz
re3-934e9db4fc8b4bde193d95bf8f4cdf7b8d1ecd8b.tar.bz2
re3-934e9db4fc8b4bde193d95bf8f4cdf7b8d1ecd8b.tar.lz
re3-934e9db4fc8b4bde193d95bf8f4cdf7b8d1ecd8b.tar.xz
re3-934e9db4fc8b4bde193d95bf8f4cdf7b8d1ecd8b.tar.zst
re3-934e9db4fc8b4bde193d95bf8f4cdf7b8d1ecd8b.zip
Diffstat (limited to '')
-rw-r--r--src/peds/EmergencyPed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/EmergencyPed.cpp b/src/peds/EmergencyPed.cpp
index fbccc8a0..ee559f57 100644
--- a/src/peds/EmergencyPed.cpp
+++ b/src/peds/EmergencyPed.cpp
@@ -303,7 +303,7 @@ CEmergencyPed::MedicAI(void)
if (!m_pRevivedPed || m_pRevivedPed->m_fHealth > 0.0f || m_pRevivedPed->bFadeOut) {
m_nEmergencyPedState = EMERGENCY_PED_DETERMINE_NEXT_STATE;
} else {
- m_pRevivedPed->m_bloodyFootprintCount = CTimer::GetTimeInMilliseconds();
+ m_pRevivedPed->m_bloodyFootprintCountOrDeathTime = CTimer::GetTimeInMilliseconds();
SetMoveState(PEDMOVE_STILL);
m_nPedState = PED_CPR;
m_nLastPedState = PED_CPR;