summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;