diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-11-01 11:30:23 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-11-01 11:31:37 +0100 |
commit | db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf (patch) | |
tree | 77eca1fc6c49200e1360001da9df830b434b15b3 /src/vehicles/Train.cpp | |
parent | Merge pull request #791 from majesticCoding/miami (diff) | |
download | re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar.gz re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar.bz2 re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar.lz re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar.xz re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.tar.zst re3-db84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf.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 9f30cfb7..fb8361c5 100644 --- a/src/vehicles/Train.cpp +++ b/src/vehicles/Train.cpp @@ -45,7 +45,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); - CTrain::SetModelIndex(id); + SetModelIndex(id); Doors[0].Init(0.8f, 0.0f, 1, 0); Doors[1].Init(-0.8f, 0.0f, 0, 0); |