summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r--src/peds/Ped.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 45590b07..7fc83be3 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -10169,7 +10169,7 @@ CPed::ProcessControl(void)
}
if (!bIsStanding && m_vecMoveSpeed.z > 0.25f) {
- double airResistance = Pow(0.95, CTimer::GetTimeStep());
+ float airResistance = Pow(0.95f, CTimer::GetTimeStep());
m_vecMoveSpeed *= airResistance;
}
@@ -15048,7 +15048,7 @@ CPed::ProcessBuoyancy(void)
m_vecMoveSpeed.y *= speedMult;
if (m_vecMoveSpeed.z >= -0.1f) {
if (m_vecMoveSpeed.z < -0.04f)
- m_vecMoveSpeed.z = -0.02;
+ m_vecMoveSpeed.z = -0.02f;
} else {
m_vecMoveSpeed.z = -0.01f;
DMAudio.PlayOneShot(m_audioEntityId, SOUND_SPLASH, 0.0f);