diff options
author | smatz <smatz@openttd.org> | 2008-07-24 15:19:26 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-07-24 15:19:26 +0000 |
commit | f1c0555d2e6863099f917c6a838b59523a4b86e3 (patch) | |
tree | 881cc1be79243d58238de4eda1a24345c93a5735 /src/autoreplace_cmd.cpp | |
parent | 243089e98e90813babc1d3ae2ad580f5f8ca9f5f (diff) | |
download | openttd-f1c0555d2e6863099f917c6a838b59523a4b86e3.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.cpp | 2 |
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) |