summaryrefslogtreecommitdiffstats
path: root/src/vehicles/HandlingMgr.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-08 01:44:19 +0100
committeraap <aap@papnet.eu>2021-01-08 01:44:19 +0100
commitd820df0dbe2301928c8c1e5bf5c368f635a131f5 (patch)
tree07fc300faa61f009bca1ef22cab09434c469b860 /src/vehicles/HandlingMgr.cpp
parentFix gOneShotCol (diff)
downloadre3-d820df0dbe2301928c8c1e5bf5c368f635a131f5.tar
re3-d820df0dbe2301928c8c1e5bf5c368f635a131f5.tar.gz
re3-d820df0dbe2301928c8c1e5bf5c368f635a131f5.tar.bz2
re3-d820df0dbe2301928c8c1e5bf5c368f635a131f5.tar.lz
re3-d820df0dbe2301928c8c1e5bf5c368f635a131f5.tar.xz
re3-d820df0dbe2301928c8c1e5bf5c368f635a131f5.tar.zst
re3-d820df0dbe2301928c8c1e5bf5c368f635a131f5.zip
Diffstat (limited to 'src/vehicles/HandlingMgr.cpp')
-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 611ddcc9..9aa834ac 100644
--- a/src/vehicles/HandlingMgr.cpp
+++ b/src/vehicles/HandlingMgr.cpp
@@ -350,7 +350,7 @@ void
cHandlingDataMgr::ConvertDataToGameUnits(tHandlingData *handling)
{
// convert distance to m, time to 1/50s
- 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);