(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 3aa6650bf8
commit 84423c6ea6

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