summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index e18db9bb1..0f2aad00a 100644
--- a/misc.c
+++ b/misc.c
@@ -268,7 +268,8 @@ static void Load_NAME(void)
}
static const SaveLoadGlobVarList _date_desc[] = {
- SLEG_VAR(_date, SLE_UINT16),
+ SLEG_CONDVAR(_date, SLE_FILE_U16 | SLE_VAR_U32, 0, 30),
+ SLEG_CONDVAR(_date, SLE_UINT32, 31, SL_MAX_VERSION),
SLEG_VAR(_date_fract, SLE_UINT16),
SLEG_VAR(_tick_counter, SLE_UINT16),
SLEG_VAR(_vehicle_id_ctr_day, SLE_UINT16),