From fb63991851aa0e3043677827da56f720fd3c94f6 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 5 May 2012 19:25:20 +0000 Subject: [PATCH] (svn r24200) -Fix [FS#5149]: Invalidate build vehicle windows every month, in case they need resorting due to changed reliabilities. --- src/engine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine.cpp b/src/engine.cpp index b9479d82f2..63f391d223 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -927,6 +927,8 @@ void EnginesMonthlyLoop() } } } + + InvalidateWindowClassesData(WC_BUILD_VEHICLE); // rebuild the purchase list (esp. when sorted by reliability) } }