summaryrefslogtreecommitdiffstats
path: root/src/core/PlayerInfo.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-12 21:28:13 +0100
committeraap <aap@papnet.eu>2021-01-12 21:28:13 +0100
commit0afa027ab4a08ea978963f4f83c90b1de86416c4 (patch)
tree7cf8721e7a6dd5a0b83a9d57f11249e4242899c5 /src/core/PlayerInfo.cpp
parentbig oof (diff)
downloadre3-0afa027ab4a08ea978963f4f83c90b1de86416c4.tar
re3-0afa027ab4a08ea978963f4f83c90b1de86416c4.tar.gz
re3-0afa027ab4a08ea978963f4f83c90b1de86416c4.tar.bz2
re3-0afa027ab4a08ea978963f4f83c90b1de86416c4.tar.lz
re3-0afa027ab4a08ea978963f4f83c90b1de86416c4.tar.xz
re3-0afa027ab4a08ea978963f4f83c90b1de86416c4.tar.zst
re3-0afa027ab4a08ea978963f4f83c90b1de86416c4.zip
Diffstat (limited to 'src/core/PlayerInfo.cpp')
-rw-r--r--src/core/PlayerInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/PlayerInfo.cpp b/src/core/PlayerInfo.cpp
index 77ddfdb1..7289175d 100644
--- a/src/core/PlayerInfo.cpp
+++ b/src/core/PlayerInfo.cpp
@@ -132,7 +132,7 @@ CPlayerInfo::Process(void)
CAutomobile *car = (CAutomobile*)m_pPed->m_pMyVehicle;
if (car->m_nWheelsOnGround < 3)
- m_nTimeNotFullyOnGround += CTimer::GetTimeInMilliseconds();
+ m_nTimeNotFullyOnGround += CTimer::GetTimeStepInMilliseconds();
else
m_nTimeNotFullyOnGround = 0;