From 9309ef58a0cd1d06bf5741289814db0fb0a9296c Mon Sep 17 00:00:00 2001 From: planetmaker Date: Mon, 14 Nov 2011 10:42:47 +0000 Subject: [PATCH] (svn r23211) -Fix: Invalidate build vehicle window when changing the setting for wagon speed limits --- src/settings.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/settings.cpp b/src/settings.cpp index b407f39f6b..3415108aa8 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; }