(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
1 changed files with 1 additions and 1 deletions

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