summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Bike.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-06-07 10:24:33 +0200
committeraap <aap@papnet.eu>2020-06-07 10:24:33 +0200
commit1234fe9c1c5728c3b98986f0ce8f6c59011b7cd8 (patch)
tree61c283ff16bdaff8b7750b24ff4616e57d0a69c0 /src/vehicles/Bike.cpp
parentMerge remote-tracking branch 'origin/master' into miami (diff)
downloadre3-1234fe9c1c5728c3b98986f0ce8f6c59011b7cd8.tar
re3-1234fe9c1c5728c3b98986f0ce8f6c59011b7cd8.tar.gz
re3-1234fe9c1c5728c3b98986f0ce8f6c59011b7cd8.tar.bz2
re3-1234fe9c1c5728c3b98986f0ce8f6c59011b7cd8.tar.lz
re3-1234fe9c1c5728c3b98986f0ce8f6c59011b7cd8.tar.xz
re3-1234fe9c1c5728c3b98986f0ce8f6c59011b7cd8.tar.zst
re3-1234fe9c1c5728c3b98986f0ce8f6c59011b7cd8.zip
Diffstat (limited to 'src/vehicles/Bike.cpp')
-rw-r--r--src/vehicles/Bike.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/vehicles/Bike.cpp b/src/vehicles/Bike.cpp
index 05f088bf..9c769fb0 100644
--- a/src/vehicles/Bike.cpp
+++ b/src/vehicles/Bike.cpp
@@ -1351,12 +1351,7 @@ CBike::PreRender(void)
CMatrix mat;
CVector headLightPos = mi->m_positions[CAR_POS_HEADLIGHTS];
-#ifdef FIX_BUGS
- if(GetModelIndex() == MI_FAGGIO || GetModelIndex() == MI_PIZZABOY)
-#else
- if(GetModelIndex() == 152) // this is the bobcat in VC
-#endif
- {
+ if(GetModelIndex() == 152){ // this is the bobcat in VC, but we don't want that effect anyway
mat.SetUnity();
mat.RotateZ(m_fWheelAngle);
mat = m_leanMatrix * mat;