summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-12 22:58:50 +0100
committeraap <aap@papnet.eu>2021-01-12 22:58:50 +0100
commit8858df2185b2a88922176194afb0d7a56b401fe4 (patch)
tree4b3a55d4a2e70e4c57e7548d2f7f9976e5e81a64 /src/vehicles/Vehicle.cpp
parentbug of the decade (diff)
downloadre3-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.cpp2
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);
}
}