From e58acce9e4e829d1339d3db24460e5a541bdb3b6 Mon Sep 17 00:00:00 2001 From: aap Date: Sat, 2 Jan 2021 13:00:23 +0100 Subject: old line was better (until we know whats going on) --- src/vehicles/HandlingMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicles') 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; -- cgit v1.2.3