summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-04 17:38:41 +0200
committeraap <aap@papnet.eu>2020-06-04 17:38:41 +0200
commit3e36428568d1b26306a9639ed04aa49b578ac74e (patch)
tree8faf914355af8f1507e5a90426a16338fa55b5e4 /src/vehicles/Vehicle.cpp
parentMerge branch 'master' into miami (diff)
downloadre3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar
re3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar.gz
re3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar.bz2
re3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar.lz
re3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar.xz
re3-3e36428568d1b26306a9639ed04aa49b578ac74e.tar.zst
re3-3e36428568d1b26306a9639ed04aa49b578ac74e.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 7a4aad50..764e49cc 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -926,7 +926,7 @@ CVehicle::ProcessBikeWheel(CVector &wheelFwd, CVector &wheelRight, CVector &whee
if(bAlreadySkidding)
adhesion *= pHandling->fTractionLoss;
- if(special == BIKE_WHEEL_2 || special == BIKE_WHEEL_3)
+ if(special == BIKE_WHEELSPEC_2 || special == BIKE_WHEELSPEC_3)
contactSpeedRight = 0.0f;
else
contactSpeedRight = DotProduct(wheelContactSpeed, wheelRight);