# HG changeset patch # User frosch # Date 1336245920 0 # Node ID 8f157dbe02b6d9267a88417b73b544df1ca8db69 # Parent 31ee4ed48d6b6027cc15a6d34c8c74c1757f17f5 (svn r24200) -Fix [FS#5149]: Invalidate build vehicle windows every month, in case they need resorting due to changed reliabilities. diff --git a/src/engine.cpp b/src/engine.cpp --- a/src/engine.cpp +++ b/src/engine.cpp @@ -927,6 +927,8 @@ } } } + + InvalidateWindowClassesData(WC_BUILD_VEHICLE); // rebuild the purchase list (esp. when sorted by reliability) } }