summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-05 00:24:42 +0200
committeraap <aap@papnet.eu>2020-06-05 00:24:42 +0200
commit647fd951ec065f8cdb2aa0000efc0d423513e681 (patch)
treefd2dbe43cf23812f961096bade06e5b40e0e7e17 /src/vehicles/Automobile.cpp
parentMerge pull request #615 from majesticCoding/miami (diff)
downloadre3-647fd951ec065f8cdb2aa0000efc0d423513e681.tar
re3-647fd951ec065f8cdb2aa0000efc0d423513e681.tar.gz
re3-647fd951ec065f8cdb2aa0000efc0d423513e681.tar.bz2
re3-647fd951ec065f8cdb2aa0000efc0d423513e681.tar.lz
re3-647fd951ec065f8cdb2aa0000efc0d423513e681.tar.xz
re3-647fd951ec065f8cdb2aa0000efc0d423513e681.tar.zst
re3-647fd951ec065f8cdb2aa0000efc0d423513e681.zip
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-rw-r--r--src/vehicles/Automobile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index a09e184e..6fac4ec1 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -1595,7 +1595,7 @@ CAutomobile::ProcessControl(void)
if(this == FindPlayerVehicle())
// BUG: this only observes one of the wheels
- TheCamera.m_bVehicleSuspenHigh = suspChange > 0.05f;
+ TheCamera.m_bVehicleSuspenHigh = Abs(suspChange) > 0.05f;
m_aSuspensionSpringRatioPrev[i] = m_aSuspensionSpringRatio[i];
m_aSuspensionSpringRatio[i] = 1.0f;