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/Train.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/Train.cpp')
-rw-r--r-- | src/vehicles/Train.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Train.cpp b/src/vehicles/Train.cpp index fb8361c5..1a4af307 100644 --- a/src/vehicles/Train.cpp +++ b/src/vehicles/Train.cpp @@ -44,7 +44,7 @@ CTrain::CTrain(int32 id, uint8 CreatedBy) #ifdef GTA_TRAIN CVehicleModelInfo *mi = (CVehicleModelInfo*)CModelInfo::GetModelInfo(id); m_vehType = VEHICLE_TYPE_TRAIN; - pHandling = mod_HandlingManager.GetHandlingData((eHandlingId)mi->m_handlingId); + pHandling = mod_HandlingManager.GetHandlingData((tVehicleType)mi->m_handlingId); SetModelIndex(id); Doors[0].Init(0.8f, 0.0f, 1, 0); |