(svn r20592) -Fix (r2041): no (proper) savegame conversion was done when _date_fract got a new value range

This commit is contained in:
rubidium
2010-08-22 09:21:56 +00:00
parent 0318ddc279
commit 1f95317454
2 changed files with 5 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ uint16 _tick_counter; ///< Ever incrementing (and sometimes wrapping) tick coun
*/
void SetDate(Date date, DateFract fract)
{
assert(fract < DAY_TICKS);
YearMonthDay ymd;
_date = date;