diff options
author | rubidium <rubidium@openttd.org> | 2010-12-29 18:20:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-29 18:20:19 +0000 |
commit | cea92937eb573e12da52dd7d6fff79e458e4104b (patch) | |
tree | 382bdad3f590ac85f802dfed2dbee97e74db7924 | |
parent | e7971c29714d1c2aa9f16e64eb7ad5910cc53ff1 (diff) | |
download | openttd-cea92937eb573e12da52dd7d6fff79e458e4104b.tar.xz |
(svn r21658) -Fix [FS#4351]: cargo payment window wasn't properly invalidated when payment changed
-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. */ |