1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 01:49:10 +00:00

(svn r21658) -Fix [FS#4351]: cargo payment window wasn't properly invalidated when payment changed

This commit is contained in:
rubidium
2010-12-29 18:20:19 +00:00
parent e7971c2971
commit cea92937eb

View File

@@ -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. */