1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 00:42:45 +01:00

(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.

This commit is contained in:
frosch
2009-09-13 17:37:47 +00:00
parent 53cc397607
commit 734edc178d
8 changed files with 9 additions and 21 deletions

View File

@@ -104,7 +104,7 @@ static int32 ClickChangeDateCheat(int32 p1, int32 p2)
SetDate(ConvertYMDToDate(_cur_year + p2, ymd.month, ymd.day));
EnginesMonthlyLoop();
SetWindowDirty(FindWindowById(WC_STATUS_BAR, 0));
InvalidateWindow(WC_STATUS_BAR, 0);
InvalidateWindowClassesData(WC_BUILD_STATION, 0);
ResetSignalVariant();
return _cur_year;