summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Train.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/Train.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/Train.cpp')
-rw-r--r--src/vehicles/Train.cpp2
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);