summaryrefslogtreecommitdiffstats
path: root/src/peds/EmergencyPed.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-15 16:47:36 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-15 16:47:36 +0100
commit1971b3db62c5eec1bc6400fe85455eb9596f18b9 (patch)
tree1912abb1478fcfc1db697e3bb9b172f1119c3f56 /src/peds/EmergencyPed.cpp
parentreplay bug fixes, script bug fix (diff)
parentMerge pull request #344 from erorcun/erorcun (diff)
downloadre3-1971b3db62c5eec1bc6400fe85455eb9596f18b9.tar
re3-1971b3db62c5eec1bc6400fe85455eb9596f18b9.tar.gz
re3-1971b3db62c5eec1bc6400fe85455eb9596f18b9.tar.bz2
re3-1971b3db62c5eec1bc6400fe85455eb9596f18b9.tar.lz
re3-1971b3db62c5eec1bc6400fe85455eb9596f18b9.tar.xz
re3-1971b3db62c5eec1bc6400fe85455eb9596f18b9.tar.zst
re3-1971b3db62c5eec1bc6400fe85455eb9596f18b9.zip
Diffstat (limited to 'src/peds/EmergencyPed.cpp')
-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;