summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-29 18:20:19 +0000
committerrubidium <rubidium@openttd.org>2010-12-29 18:20:19 +0000
commitcea92937eb573e12da52dd7d6fff79e458e4104b (patch)
tree382bdad3f590ac85f802dfed2dbee97e74db7924 /src
parente7971c29714d1c2aa9f16e64eb7ad5910cc53ff1 (diff)
downloadopenttd-cea92937eb573e12da52dd7d6fff79e458e4104b.tar.xz
(svn r21658) -Fix [FS#4351]: cargo payment window wasn't properly invalidated when payment changed
Diffstat (limited to 'src')
-rw-r--r--src/economy.cpp2
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. */