@@ -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);