diff options
author | aap <aap@papnet.eu> | 2021-01-12 22:58:50 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-12 22:58:50 +0100 |
commit | 8858df2185b2a88922176194afb0d7a56b401fe4 (patch) | |
tree | 4b3a55d4a2e70e4c57e7548d2f7f9976e5e81a64 /src/vehicles/Vehicle.cpp | |
parent | bug of the decade (diff) | |
download | re3-8858df2185b2a88922176194afb0d7a56b401fe4.tar re3-8858df2185b2a88922176194afb0d7a56b401fe4.tar.gz re3-8858df2185b2a88922176194afb0d7a56b401fe4.tar.bz2 re3-8858df2185b2a88922176194afb0d7a56b401fe4.tar.lz re3-8858df2185b2a88922176194afb0d7a56b401fe4.tar.xz re3-8858df2185b2a88922176194afb0d7a56b401fe4.tar.zst re3-8858df2185b2a88922176194afb0d7a56b401fe4.zip |
Diffstat (limited to 'src/vehicles/Vehicle.cpp')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index 1849fd7f..75bd6ec6 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -913,7 +913,7 @@ CVehicle::ProcessWheel(CVector &wheelFwd, CVector &wheelRight, CVector &wheelCon float turnImpulse = turnSpeed*GetMass(wheelContactPoint, turnDirection); ApplyMoveForce(impulse * direction); - ApplyTurnForce(turnImpulse * direction, wheelContactPoint); + ApplyTurnForce(turnImpulse * turnDirection, wheelContactPoint); } } |