summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-10 20:55:12 +0300
committerSergeanur <s.anureev@yandex.ua>2019-10-10 20:55:12 +0300
commitfd1edbc0c8923d8cd5385017a700bbaadbf7a63f (patch)
treeef47d4d5de8f357d2c430b9b5382cb32e1c2be30 /src
parentffed52b94f09b2cd1fbb40e8cc59d7684605e80d (diff)
Single-wagon train fix
Diffstat (limited to 'src')
-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 4c07a63a..f3a669d6 100644
--- a/src/vehicles/Train.cpp
+++ b/src/vehicles/Train.cpp
@@ -52,7 +52,7 @@ CTrain::CTrain(int32 id, uint8 CreatedBy)
m_bProcessDoor = true;
m_bTrainStopping = false;
-
+ m_nTrackId = TRACK_ELTRAIN;
m_nNumMaxPassengers = 5;
m_nDoorTimer = CTimer::GetTimeInMilliseconds();
m_nDoorState = TRAIN_DOOR_CLOSED;