From 480036254b7773352ea8e77ca03eb7ab7355e505 Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 13 Feb 2008 16:49:25 +0000 Subject: (svn r12131) -Fix (r3374): with mammoth trains disabled, maximum train length was limited to 9 --- src/train_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 79ca20083..232c79e07 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -993,7 +993,7 @@ CommandCost CmdMoveRailVehicle(TileIndex tile, uint32 flags, uint32 p1, uint32 p if (HasBit(p2, 0) && src_head == dst_head) return CommandCost(); { - int max_len = _patches.mammoth_trains ? 100 : 9; + int max_len = _patches.mammoth_trains ? 100 : 10; /* check if all vehicles in the source train are stopped inside a depot. */ int src_len = CheckTrainStoppedInDepot(src_head); -- cgit v1.2.3-70-g09d2