mirror of https://github.com/OpenTTD/OpenTTD
(svn r1599) fix: autoreplace window now updates when inflation alters prices
Hackykid and not LordOfThePigs pointed out the update problem fixed in rev 1597. Sorry. Sometimes development can get too fastrelease/0.4.5
parent
6027e777c8
commit
8e7d88c85b
|
@ -657,6 +657,7 @@ static void AddInflation(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
InvalidateWindowClasses(WC_BUILD_VEHICLE);
|
InvalidateWindowClasses(WC_BUILD_VEHICLE);
|
||||||
|
InvalidateWindowClasses(WC_REPLACE_VEHICLE);
|
||||||
InvalidateWindowClasses(WC_VEHICLE_DETAILS);
|
InvalidateWindowClasses(WC_VEHICLE_DETAILS);
|
||||||
InvalidateWindow(WC_PAYMENT_RATES, 0);
|
InvalidateWindow(WC_PAYMENT_RATES, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue