summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Train.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-11-01 11:30:23 +0100
committerSergeanur <s.anureev@yandex.ua>2020-11-01 11:31:37 +0100
commitdb84afd263d5e9ed4ef863b4ede8dfd2b33e9cdf (patch)
tree77eca1fc6c49200e1360001da9df830b434b15b3 /src/vehicles/Train.cpp
parentMerge pull request #791 from majesticCoding/miami (diff)
downloadre3-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.cpp2
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);