diff options
author | frosch <frosch@openttd.org> | 2012-05-05 19:25:20 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-05-05 19:25:20 +0000 |
commit | fb63991851aa0e3043677827da56f720fd3c94f6 (patch) | |
tree | 029050ec939beea1a1b85a25a798fc438fd75afe /src | |
parent | cf0aeaf2c76f49711edf81f342f4dfbba459b942 (diff) | |
download | openttd-fb63991851aa0e3043677827da56f720fd3c94f6.tar.xz |
(svn r24200) -Fix [FS#5149]: Invalidate build vehicle windows every month, in case they need resorting due to changed reliabilities.
Diffstat (limited to 'src')
-rw-r--r-- | src/engine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) } } |