changeset 19311:8f157dbe02b6 draft

(svn r24200) -Fix [FS#5149]: Invalidate build vehicle windows every month, in case they need resorting due to changed reliabilities.
author frosch <frosch@openttd.org>
date Sat, 05 May 2012 19:25:20 +0000
parents 31ee4ed48d6b
children a0879c9fc91f
files src/engine.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)
 	}
 }