summaryrefslogtreecommitdiff
path: root/src/settings.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/settings.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/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 9e7a561c5..32eb48797 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1240,7 +1240,7 @@ static int32 UpdateConsists(int32 p1)
Vehicle *v;
FOR_ALL_VEHICLES(v) {
/* Update the consist of all trains so the maximum speed is set correctly. */
- if (v->type == VEH_TRAIN && (IsFrontEngine(v) || IsFreeWagon(v))) TrainConsistChanged(v);
+ if (v->type == VEH_TRAIN && (IsFrontEngine(v) || IsFreeWagon(v))) TrainConsistChanged(v, true);
}
return 0;
}