File diff r13023:9f6499c8d4fb → r13024:48c81d0b078a
src/cheat_gui.cpp
Show inline comments
 
@@ -67,7 +67,7 @@ static int32 ClickChangeCompanyCheat(int
 
 */
 
static int32 ClickSetProdCheat(int32 p1, int32 p2)
 
{
 
	InvalidateWindowClasses(WC_INDUSTRY_VIEW);
 
	SetWindowClassesDirty(WC_INDUSTRY_VIEW);
 
	return p1;
 
}
 

	
 
@@ -104,7 +104,7 @@ static int32 ClickChangeDateCheat(int32 
 

	
 
	SetDate(ConvertYMDToDate(_cur_year + p2, ymd.month, ymd.day));
 
	EnginesMonthlyLoop();
 
	InvalidateWindow(WC_STATUS_BAR, 0);
 
	SetWindowDirty(WC_STATUS_BAR, 0);
 
	InvalidateWindowClassesData(WC_BUILD_STATION, 0);
 
	ResetSignalVariant();
 
	return _cur_year;