X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ffiles.c;h=124b1db04b05c7b8fce2925962392718e6f9f7bb;hp=6304da1f670e92fce336c84b8cde533349324820;hb=123c5a87fa9cf6d9759ed7911d3544f05afdd11c;hpb=4a8368abd71c718621838773eed914b5bbd4e1d8 diff --git a/src/files.c b/src/files.c index 6304da1f..124b1db0 100644 --- a/src/files.c +++ b/src/files.c @@ -1346,6 +1346,8 @@ static struct DateInfo getCurrentDate() date.month = now->tm_mon + 1; date.day = now->tm_mday; + date.src = DATE_SRC_CLOCK; + return date; } @@ -2225,6 +2227,8 @@ static int LoadLevel_DATE(FILE *file, int chunk_size, struct LevelInfo *level) level->creation_date.month = getFile8Bit(file); level->creation_date.day = getFile8Bit(file); + level->creation_date.src = DATE_SRC_LEVELFILE; + return chunk_size; }