summaryrefslogtreecommitdiff
path: root/src/vehicles/Train.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-11-24 17:15:51 +0200
committerSergeanur <s.anureev@yandex.ua>2020-11-24 17:16:39 +0200
commit8f5e60f787b00942d816fa610e4c546ff7f9e603 (patch)
treeff4f8ccf10312ccc4d2d0b4c16792d605bcca483 /src/vehicles/Train.cpp
parent1906a08f7220cb90d136b0a0e4d2e18e0c7ef5eb (diff)
Original enum name
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);