summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-05-05 19:25:20 +0000
committerfrosch <frosch@openttd.org>2012-05-05 19:25:20 +0000
commitfb63991851aa0e3043677827da56f720fd3c94f6 (patch)
tree029050ec939beea1a1b85a25a798fc438fd75afe /src
parentcf0aeaf2c76f49711edf81f342f4dfbba459b942 (diff)
downloadopenttd-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.cpp2
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)
}
}