From fb63991851aa0e3043677827da56f720fd3c94f6 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 5 May 2012 19:25:20 +0000 Subject: (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(+) (limited to 'src') diff --git a/src/engine.cpp b/src/engine.cpp index b9479d82f..63f391d22 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) } } -- cgit v1.2.3-54-g00ecf