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/vehicles/Heli.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/vehicles/Heli.cpp')
-rw-r--r-- | src/vehicles/Heli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Heli.cpp b/src/vehicles/Heli.cpp index 3f01ff41..a8423855 100644 --- a/src/vehicles/Heli.cpp +++ b/src/vehicles/Heli.cpp @@ -260,7 +260,7 @@ CHeli::ProcessControl(void) // Move up if too low if(GetPosition().z - 2.0f < groundZ && m_heliStatus != HELI_STATUS_SHOT_DOWN) m_vecMoveSpeed.z += CTimer::GetTimeStep()*0.01f; - m_vecMoveSpeed.z = clamp(m_vecMoveSpeed.z, -0.3f, 0.3f); + m_vecMoveSpeed.z = Clamp(m_vecMoveSpeed.z, -0.3f, 0.3f); } float fTargetDist = vTargetDist.Magnitude(); |