diff options
Diffstat (limited to '')
-rw-r--r-- | src/peds/PlayerPed.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp index 5ae8c4be..ceee0bd2 100644 --- a/src/peds/PlayerPed.cpp +++ b/src/peds/PlayerPed.cpp @@ -94,6 +94,15 @@ CPlayerPed::AnnoyPlayerPed(bool annoyedByPassingEntity) } } +void +CPlayerPed::ClearAdrenaline(void) +{ + if (m_bAdrenalineActive && m_nAdrenalineTime != 0) { + m_nAdrenalineTime = 0; + CTimer::SetTimeStep(1.0f); + } +} + class CPlayerPed_ : public CPlayerPed { public: |