# HG changeset patch # User frosch # Date 2012-05-05 19:25:20 # Node ID 7d38c586a8989291a07742f7214fc2b88bccd846 # Parent 92f720adde7dac4f58713e058443b643ad514838 (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 @@ void EnginesMonthlyLoop() } } } + + InvalidateWindowClassesData(WC_BUILD_VEHICLE); // rebuild the purchase list (esp. when sorted by reliability) } }