diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-11-24 17:15:51 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-11-24 17:16:39 +0200 |
commit | 8f5e60f787b00942d816fa610e4c546ff7f9e603 (patch) | |
tree | ff4f8ccf10312ccc4d2d0b4c16792d605bcca483 /src/vehicles/Train.cpp | |
parent | 1906a08f7220cb90d136b0a0e4d2e18e0c7ef5eb (diff) |
Original enum name
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); |