diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-06-30 20:26:36 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-30 20:26:36 +0200 |
commit | 138abb91f6232ef40e1093b3c37122e1b0bf2cf1 (patch) | |
tree | c4c694734bb56c29ddf8b5bbd891741540a7c68b /src/core/PlayerInfo.cpp | |
parent | Fix script load (diff) | |
parent | Pause radio when game is paused (diff) | |
download | re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar.gz re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar.bz2 re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar.lz re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar.xz re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar.zst re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.zip |
Diffstat (limited to 'src/core/PlayerInfo.cpp')
-rw-r--r-- | src/core/PlayerInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/PlayerInfo.cpp b/src/core/PlayerInfo.cpp index 337d631c..2e3372f1 100644 --- a/src/core/PlayerInfo.cpp +++ b/src/core/PlayerInfo.cpp @@ -299,7 +299,7 @@ CPlayerInfo::Process(void) m_fRoadDensity = ThePaths.CalcRoadDensity(playerPos.x, playerPos.y); } - m_fRoadDensity = clamp(m_fRoadDensity, 0.5f, 1.45f); + m_fRoadDensity = Clamp(m_fRoadDensity, 0.5f, 1.45f); // Because vehicle enter/exit use same key binding. bool enterOrExitVeh; |