diff options
author | aap <aap@papnet.eu> | 2021-01-02 13:00:23 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-02 13:00:23 +0100 |
commit | e58acce9e4e829d1339d3db24460e5a541bdb3b6 (patch) | |
tree | bd9a4f01f7a93d0fc57698c959ad167b5db03638 /src/vehicles/HandlingMgr.cpp | |
parent | Vehicle: Automobile: fixes and style things (diff) | |
download | re3-e58acce9e4e829d1339d3db24460e5a541bdb3b6.tar re3-e58acce9e4e829d1339d3db24460e5a541bdb3b6.tar.gz re3-e58acce9e4e829d1339d3db24460e5a541bdb3b6.tar.bz2 re3-e58acce9e4e829d1339d3db24460e5a541bdb3b6.tar.lz re3-e58acce9e4e829d1339d3db24460e5a541bdb3b6.tar.xz re3-e58acce9e4e829d1339d3db24460e5a541bdb3b6.tar.zst re3-e58acce9e4e829d1339d3db24460e5a541bdb3b6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/HandlingMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/HandlingMgr.cpp b/src/vehicles/HandlingMgr.cpp index cd234cee..51110507 100644 --- a/src/vehicles/HandlingMgr.cpp +++ b/src/vehicles/HandlingMgr.cpp @@ -363,7 +363,7 @@ cHandlingDataMgr::ConvertDataToGameUnits(tHandlingData *handling) handling->fBuoyancy = 100.0f/handling->nPercentSubmerged * GRAVITY*handling->fMass; // What the hell is going on here? - specificVolume = handling->Dimension.z * (handling->Dimension.x / 2.f) / handling->fMass; // ? + specificVolume = handling->Dimension.x*handling->Dimension.z*0.5f / handling->fMass; // ? a = 0.0f; b = 100.0f; velocity = handling->Transmission.fMaxVelocity; |