projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100309-2-src
[rocksndiamonds.git]
/
src
/
files.c
diff --git
a/src/files.c
b/src/files.c
index 6304da1f670e92fce336c84b8cde533349324820..124b1db04b05c7b8fce2925962392718e6f9f7bb 100644
(file)
--- 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.month = now->tm_mon + 1;
date.day = now->tm_mday;
+ date.src = DATE_SRC_CLOCK;
+
return date;
}
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.month = getFile8Bit(file);
level->creation_date.day = getFile8Bit(file);
+ level->creation_date.src = DATE_SRC_LEVELFILE;
+
return chunk_size;
}
return chunk_size;
}