Mark whole screen dirty when date cheat used
This commit is contained in:
@@ -113,10 +113,10 @@ static int32 ClickChangeDateCheat(int32 p1, int32 p2)
|
|||||||
ShiftOrderDates(new_date - _date);
|
ShiftOrderDates(new_date - _date);
|
||||||
SetDate(new_date, _date_fract);
|
SetDate(new_date, _date_fract);
|
||||||
EnginesMonthlyLoop();
|
EnginesMonthlyLoop();
|
||||||
SetWindowDirty(WC_STATUS_BAR, 0);
|
|
||||||
InvalidateWindowClassesData(WC_BUILD_STATION, 0);
|
InvalidateWindowClassesData(WC_BUILD_STATION, 0);
|
||||||
InvalidateWindowClassesData(WC_BUILD_OBJECT, 0);
|
InvalidateWindowClassesData(WC_BUILD_OBJECT, 0);
|
||||||
ResetSignalVariant();
|
ResetSignalVariant();
|
||||||
|
MarkWholeScreenDirty();
|
||||||
return _cur_year;
|
return _cur_year;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user