Add Extended Logfile

This commit is contained in:
Pasi Kallinen
2015-03-12 21:35:04 +02:00
parent 400d842a8f
commit f8aced5480
19 changed files with 189 additions and 4 deletions

View File

@@ -533,6 +533,13 @@ newgame()
#endif
program_state.something_worth_saving++; /* useful data now exists */
u.urealtime.realtime = (time_t)0L;
#if defined(BSD) && !defined(POSIX_TYPES)
(void) time((long *)&u.urealtime.restored);
#else
(void) time(&u.urealtime.restored);
#endif
/* Success! */
welcome(TRUE);
return;