Save xlogfile time_t fields correctly

This commit is contained in:
Pasi Kallinen
2015-03-19 17:41:14 +02:00
parent 02cdaf5a09
commit 3cc3709d95
10 changed files with 25 additions and 16 deletions

View File

@@ -244,6 +244,7 @@ E NEARDATA anything zeroany; /* init'd and defined in decl.c */
#include "you.h"
E NEARDATA struct you u;
E NEARDATA time_t ubirthday;
E NEARDATA struct u_realtime urealtime;
#include "onames.h"
#ifndef PM_H /* (pm.h has already been included via youprop.h) */

View File

@@ -14,7 +14,7 @@
* Incrementing EDITLEVEL can be used to force invalidation of old bones
* and save files.
*/
#define EDITLEVEL 56
#define EDITLEVEL 57
#define COPYRIGHT_BANNER_A \
"NetHack, Copyright 1985-2012"

View File

@@ -327,7 +327,6 @@ struct you {
unsigned udg_cnt; /* how long you have been demigod */
struct u_achieve uachieve; /* achievements */
struct u_realtime urealtime;
struct u_event uevent; /* certain events have happened */
struct u_have uhave; /* you're carrying special objects */
struct u_conduct uconduct; /* KMH, conduct */