diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-11-24 16:15:51 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-11-24 16:16:39 +0100 |
commit | 8f5e60f787b00942d816fa610e4c546ff7f9e603 (patch) | |
tree | ff4f8ccf10312ccc4d2d0b4c16792d605bcca483 /src/vehicles/Boat.cpp | |
parent | cam fix; forgot some shaders (diff) | |
download | re3-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/Boat.cpp')
-rw-r--r-- | src/vehicles/Boat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp index 7fea8c6e..14abbfc6 100644 --- a/src/vehicles/Boat.cpp +++ b/src/vehicles/Boat.cpp @@ -63,9 +63,9 @@ CBoat::CBoat(int mi, uint8 owner) : CVehicle(owner) m_nPoliceShoutTimer = CTimer::GetTimeInMilliseconds(); SetModelIndex(mi); - pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)minfo->m_handlingId); - pFlyingHandling = mod_HandlingManager.GetFlyingPointer((eHandlingId)minfo->m_handlingId); - pBoatHandling = mod_HandlingManager.GetBoatPointer((eHandlingId)minfo->m_handlingId); + pHandling = mod_HandlingManager.GetHandlingData((tVehicleType)minfo->m_handlingId); + pFlyingHandling = mod_HandlingManager.GetFlyingPointer((tVehicleType)minfo->m_handlingId); + pBoatHandling = mod_HandlingManager.GetBoatPointer((tVehicleType)minfo->m_handlingId); minfo->ChooseVehicleColour(m_currentColour1, m_currentColour2); m_fMass = pHandling->fMass; |