Changeset - r17429:57e6f2cdc58c
[Not reviewed]
master
0 1 0
planetmaker - 13 years ago 2011-03-05 09:55:09
planetmaker@openttd.org
(svn r22193) -Fix: Invalidate the object build window when using the date cheat
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/cheat_gui.cpp
Show inline comments
 
@@ -122,12 +122,13 @@ static int32 ClickChangeDateCheat(int32 
 
	if (p1 == _cur_year) return _cur_year;
 

	
 
	SetDate(ConvertYMDToDate(p1, ymd.month, ymd.day), _date_fract);
 
	EnginesMonthlyLoop();
 
	SetWindowDirty(WC_STATUS_BAR, 0);
 
	InvalidateWindowClassesData(WC_BUILD_STATION, 0);
 
	InvalidateWindowClassesData(WC_BUILD_OBJECT, 0);
 
	ResetSignalVariant();
 
	return _cur_year;
 
}
 

	
 
/** Available cheats. */
 
enum CheatNumbers {
0 comments (0 inline, 0 general)