summaryrefslogtreecommitdiff
path: root/economy.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-01-22 23:41:23 +0000
committerbjarni <bjarni@openttd.org>2005-01-22 23:41:23 +0000
commit8e7d88c85bd663e54dfa54dc713cb23263a82391 (patch)
tree1aaa9dd194c8bfd65cc9a63ee7c09f64b6922263 /economy.c
parent6027e777c85c94f009e8ecd27ed1cce525359c61 (diff)
downloadopenttd-8e7d88c85bd663e54dfa54dc713cb23263a82391.tar.xz
(svn r1599) fix: autoreplace window now updates when inflation alters prices
Hackykid and not LordOfThePigs pointed out the update problem fixed in rev 1597. Sorry. Sometimes development can get too fast
Diffstat (limited to 'economy.c')
-rw-r--r--economy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/economy.c b/economy.c
index 97b0beed1..b8c6ebb39 100644
--- a/economy.c
+++ b/economy.c
@@ -657,6 +657,7 @@ static void AddInflation(void)
}
InvalidateWindowClasses(WC_BUILD_VEHICLE);
+ InvalidateWindowClasses(WC_REPLACE_VEHICLE);
InvalidateWindowClasses(WC_VEHICLE_DETAILS);
InvalidateWindow(WC_PAYMENT_RATES, 0);
}