diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 886a07658..971088591 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -677,7 +677,7 @@ void RecomputePrices() SetWindowClassesDirty(WC_BUILD_VEHICLE); SetWindowClassesDirty(WC_REPLACE_VEHICLE); SetWindowClassesDirty(WC_VEHICLE_DETAILS); - SetWindowDirty(WC_PAYMENT_RATES, 0); + InvalidateWindowData(WC_PAYMENT_RATES, 0); } /** Let all companies pay the monthly interest on their loan. */ |