summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Bike.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-11-24 16:15:51 +0100
committerSergeanur <s.anureev@yandex.ua>2020-11-24 16:16:39 +0100
commit8f5e60f787b00942d816fa610e4c546ff7f9e603 (patch)
treeff4f8ccf10312ccc4d2d0b4c16792d605bcca483 /src/vehicles/Bike.cpp
parentcam fix; forgot some shaders (diff)
downloadre3-8f5e60f787b00942d816fa610e4c546ff7f9e603.tar
re3-8f5e60f787b00942d816fa610e4c546ff7f9e603.tar.gz
re3-8f5e60f787b00942d816fa610e4c546ff7f9e603.tar.bz2
re3-8f5e60f787b00942d816fa610e4c546ff7f9e603.tar.lz
re3-8f5e60f787b00942d816fa610e4c546ff7f9e603.tar.xz
re3-8f5e60f787b00942d816fa610e4c546ff7f9e603.tar.zst
re3-8f5e60f787b00942d816fa610e4c546ff7f9e603.zip
Diffstat (limited to 'src/vehicles/Bike.cpp')
-rw-r--r--src/vehicles/Bike.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicles/Bike.cpp b/src/vehicles/Bike.cpp
index 62633464..30d63aca 100644
--- a/src/vehicles/Bike.cpp
+++ b/src/vehicles/Bike.cpp
@@ -93,9 +93,9 @@ CBike::CBike(int32 id, uint8 CreatedBy)
SetModelIndex(id);
- pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)mi->m_handlingId);
- pBikeHandling = mod_HandlingManager.GetBikePointer((eHandlingId)mi->m_handlingId);
- pFlyingHandling = mod_HandlingManager.GetFlyingPointer((eHandlingId)mi->m_handlingId);
+ pHandling = mod_HandlingManager.GetHandlingData((tVehicleType)mi->m_handlingId);
+ pBikeHandling = mod_HandlingManager.GetBikePointer((tVehicleType)mi->m_handlingId);
+ pFlyingHandling = mod_HandlingManager.GetFlyingPointer((tVehicleType)mi->m_handlingId);
m_bike_unused1 = 20.0f;
m_bike_unused2 = 0;