diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-09-13 21:04:55 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-09-14 01:24:53 +0200 |
commit | 88f0ef75e8596c752fe343c786294ffa6a8a7534 (patch) | |
tree | cacd806edb9ca44bda3a057a934b629cc7be1bc3 /src/peds/PlayerPed.cpp | |
parent | fixed launch in space bug (diff) | |
download | re3-88f0ef75e8596c752fe343c786294ffa6a8a7534.tar re3-88f0ef75e8596c752fe343c786294ffa6a8a7534.tar.gz re3-88f0ef75e8596c752fe343c786294ffa6a8a7534.tar.bz2 re3-88f0ef75e8596c752fe343c786294ffa6a8a7534.tar.lz re3-88f0ef75e8596c752fe343c786294ffa6a8a7534.tar.xz re3-88f0ef75e8596c752fe343c786294ffa6a8a7534.tar.zst re3-88f0ef75e8596c752fe343c786294ffa6a8a7534.zip |
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: |