summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-12 21:29:50 +0100
committerSergeanur <s.anureev@yandex.ua>2021-01-12 21:29:50 +0100
commitf73e870bdeed9506ee68a68136d92a3ead034f6c (patch)
tree5fde5893788ff1bb50e33b61cc8c0a9f9e3dc29d /src/core
parentlittle cleanup of vehicle rendering (diff)
parentbug of the decade (diff)
downloadre3-f73e870bdeed9506ee68a68136d92a3ead034f6c.tar
re3-f73e870bdeed9506ee68a68136d92a3ead034f6c.tar.gz
re3-f73e870bdeed9506ee68a68136d92a3ead034f6c.tar.bz2
re3-f73e870bdeed9506ee68a68136d92a3ead034f6c.tar.lz
re3-f73e870bdeed9506ee68a68136d92a3ead034f6c.tar.xz
re3-f73e870bdeed9506ee68a68136d92a3ead034f6c.tar.zst
re3-f73e870bdeed9506ee68a68136d92a3ead034f6c.zip
Diffstat (limited to 'src/core')
-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;