summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2021-01-12 23:18:58 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2021-01-12 23:18:58 +0100
commit39dd219fbc5d82871a83999d1fb655efa19971c0 (patch)
tree12f383dab1f40720e3941a17fa873927893c9524 /src/vehicles/Vehicle.cpp
parentassert, temp fixes (diff)
parentProcessWheel bug (diff)
downloadre3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar
re3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar.gz
re3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar.bz2
re3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar.lz
re3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar.xz
re3-39dd219fbc5d82871a83999d1fb655efa19971c0.tar.zst
re3-39dd219fbc5d82871a83999d1fb655efa19971c0.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 c2bca63e..e1e00667 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);
}
}