summaryrefslogtreecommitdiff
path: root/src/vehicles/HandlingMgr.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-02 18:27:11 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-02 18:27:11 +0300
commit482ff4562f2ed4806c0e51f96b656a7ad80445c7 (patch)
tree71fb784b900c71e02826a393928cfb93f6a942d6 /src/vehicles/HandlingMgr.cpp
parent38bca2332d6e4fc2a5d73f7c5909ab0b2ddc4985 (diff)
Vehicle: Automobile: fixes and style things
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 3ac6f057..be8150fb 100644
--- a/src/vehicles/HandlingMgr.cpp
+++ b/src/vehicles/HandlingMgr.cpp
@@ -143,7 +143,7 @@ cHandlingDataMgr::LoadHandlingData(void)
case 11: handling->fTractionBias = strtod(word, nil); break;
case 12: handling->Transmission.nNumberOfGears = atoi(word); break;
case 13: handling->Transmission.fMaxVelocity = strtod(word, nil); break;
- case 14: handling->Transmission.fEngineAcceleration = strtod(word, nil) * 0.4f; break;
+ case 14: handling->Transmission.fEngineAcceleration = strtod(word, nil) * 0.4; break;
case 15: handling->Transmission.nDriveType = word[0]; break;
case 16: handling->Transmission.nEngineType = word[0]; break;
case 17: handling->fBrakeDeceleration = strtod(word, nil); break;