summaryrefslogtreecommitdiff
path: root/src/autoreplace_cmd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-07-24 15:19:26 +0000
committersmatz <smatz@openttd.org>2008-07-24 15:19:26 +0000
commitaae2aa64c4281583ea31d668d85301fe7996bd2e (patch)
tree881cc1be79243d58238de4eda1a24345c93a5735 /src/autoreplace_cmd.cpp
parent9bee9948986c4c4905c53b6214311e2ddb6d6e8d (diff)
downloadopenttd-aae2aa64c4281583ea31d668d85301fe7996bd2e.tar.xz
(svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that
Diffstat (limited to 'src/autoreplace_cmd.cpp')
-rw-r--r--src/autoreplace_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/autoreplace_cmd.cpp b/src/autoreplace_cmd.cpp
index c2a3eaaea..5d728c0c5 100644
--- a/src/autoreplace_cmd.cpp
+++ b/src/autoreplace_cmd.cpp
@@ -57,7 +57,7 @@ static void MoveVehicleCargo(Vehicle *dest, Vehicle *source)
* the complete train, which is without the weight of cargo we just
* moved back into some (of the) new wagon(s).
*/
- if (dest->type == VEH_TRAIN) TrainConsistChanged(dest->First());
+ if (dest->type == VEH_TRAIN) TrainConsistChanged(dest->First(), true);
}
static bool VerifyAutoreplaceRefitForOrders(const Vehicle *v, const EngineID engine_type)