summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Train.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-01 10:29:37 +0100
committeraap <aap@papnet.eu>2020-11-01 10:29:37 +0100
commit9598a906270c4876c1a9c00b8959e694d645566c (patch)
treef411a5cb561d9533db4172ce2f7639a46079e7f3 /src/vehicles/Train.cpp
parenttiny cleanup (diff)
parentAlso fix SetModelIndex in CAutomobile and CTrain ctors (diff)
downloadre3-9598a906270c4876c1a9c00b8959e694d645566c.tar
re3-9598a906270c4876c1a9c00b8959e694d645566c.tar.gz
re3-9598a906270c4876c1a9c00b8959e694d645566c.tar.bz2
re3-9598a906270c4876c1a9c00b8959e694d645566c.tar.lz
re3-9598a906270c4876c1a9c00b8959e694d645566c.tar.xz
re3-9598a906270c4876c1a9c00b8959e694d645566c.tar.zst
re3-9598a906270c4876c1a9c00b8959e694d645566c.zip
Diffstat (limited to '')
-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 fb8361c5..9f30cfb7 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);
- SetModelIndex(id);
+ CTrain::SetModelIndex(id);
Doors[0].Init(0.8f, 0.0f, 1, 0);
Doors[1].Init(-0.8f, 0.0f, 0, 0);