summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-08 01:44:08 +0100
committeraap <aap@papnet.eu>2021-01-08 01:44:08 +0100
commitec61964bcedfacb1c651a4d41a0dac33b3526748 (patch)
treeca01d7b4471faf5353725dfbe84c1584cda9cce4 /src
parentAdd MPG123_QUIET to mp3 files (diff)
downloadre3-ec61964bcedfacb1c651a4d41a0dac33b3526748.tar
re3-ec61964bcedfacb1c651a4d41a0dac33b3526748.tar.gz
re3-ec61964bcedfacb1c651a4d41a0dac33b3526748.tar.bz2
re3-ec61964bcedfacb1c651a4d41a0dac33b3526748.tar.lz
re3-ec61964bcedfacb1c651a4d41a0dac33b3526748.tar.xz
re3-ec61964bcedfacb1c651a4d41a0dac33b3526748.tar.zst
re3-ec61964bcedfacb1c651a4d41a0dac33b3526748.zip
Diffstat (limited to 'src')
-rw-r--r--src/vehicles/HandlingMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/HandlingMgr.cpp b/src/vehicles/HandlingMgr.cpp
index fde280e8..00aaa682 100644
--- a/src/vehicles/HandlingMgr.cpp
+++ b/src/vehicles/HandlingMgr.cpp
@@ -191,7 +191,7 @@ void
cHandlingDataMgr::ConvertDataToGameUnits(tHandlingData *handling)
{
// acceleration is in ms^-2, but we need mf^-2 where f is one frame time (50fps)
- float velocity, a, b, specificVolume;
+ float velocity, a, b;
handling->Transmission.fEngineAcceleration *= 1.0f/(50.0f*50.0f);
handling->Transmission.fMaxVelocity *= 1000.0f/(60.0f*60.0f * 50.0f);