aboutsummaryrefslogtreecommitdiffstats
path: root/src/vehicles/Train.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-11-01 12:30:23 +0200
committerSergeanur <s.anureev@yandex.ua>2020-11-01 12:30:23 +0200
commit1f5a6dab67d37af7e3686e29fc81d0f8e5bb5597 (patch)
tree3ea854e3cdf5ec694a2b702e154b9ae7bd112476 /src/vehicles/Train.cpp
parentf21cfef8fb92a0923c6ddfa26124cf6da1fa883c (diff)
Revert
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 98d522a7..26d0dee7 100644
--- a/src/vehicles/Train.cpp
+++ b/src/vehicles/Train.cpp
@@ -44,7 +44,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);