summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index b407f39f6..3415108aa 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -768,6 +768,7 @@ static bool UpdateConsists(int32 p1)
/* Update the consist of all trains so the maximum speed is set correctly. */
if (t->IsFrontEngine() || t->IsFreeWagon()) t->ConsistChanged(true);
}
+ InvalidateWindowClassesData(WC_BUILD_VEHICLE, 0);
return true;
}