diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-11-23 17:59:50 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-11-23 17:59:50 +0100 |
commit | 833bf4a619c7bd40ea69731abe3d31770815d863 (patch) | |
tree | d351d9d80d332118621b9023fbe176928fe8e2b9 /src/vehicles/Train.cpp | |
parent | two unused functions (diff) | |
download | re3-833bf4a619c7bd40ea69731abe3d31770815d863.tar re3-833bf4a619c7bd40ea69731abe3d31770815d863.tar.gz re3-833bf4a619c7bd40ea69731abe3d31770815d863.tar.bz2 re3-833bf4a619c7bd40ea69731abe3d31770815d863.tar.lz re3-833bf4a619c7bd40ea69731abe3d31770815d863.tar.xz re3-833bf4a619c7bd40ea69731abe3d31770815d863.tar.zst re3-833bf4a619c7bd40ea69731abe3d31770815d863.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 26d0dee7..4250f6f4 100644 --- a/src/vehicles/Train.cpp +++ b/src/vehicles/Train.cpp @@ -43,7 +43,7 @@ CTrain::CTrain(int32 id, uint8 CreatedBy) { 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); |