File diff r26193:4bc7915a2156 → r26194:f7347205838e
src/date.cpp
Show inline comments
 
@@ -33,13 +33,14 @@ uint16 _tick_counter;  ///< Ever increme
 
 * Set the date.
 
 * @param date  New date
 
 * @param fract The number of ticks that have passed on this date.
 
 */
 
void SetDate(Date date, DateFract fract)
 
{
 
	assert(fract < DAY_TICKS);
 
	//Get rid of this insane assert
 
	//assert(fract < DAY_TICKS);
 

	
 
	YearMonthDay ymd;
 

	
 
	_date = date;
 
	_date_fract = fract;
 
	ConvertDateToYMD(date, &ymd);