From a14b1f99924dcfb26001142e25135d3ca09cbc1c Mon Sep 17 00:00:00 2001 From: PatR Date: Wed, 11 Nov 2015 22:56:57 -0800 Subject: [PATCH] fix PATCHLEVEL > Somebody has changed versioning so that the game incorrectly states > 3.6.1 in messages. It looks like someone updated patchlevel instead of > editlevel? Yes, that was me. I meant to increment EDITLEVEL and nobody noticed the mistake until now.... This changes PATCHLEVEL back to the correct value of 0, and implicitly resets EDITLEVEL to 0 for release (by not changing it to 1 as it was supposed to have been for the past 3-4 weeks). Data files from Oct. 18 through today are actually compatible but will be rejected once anyone rebuilds with this fix, same as would happen when EDITLEVEL changs. Data files from before Oct. 18 will be incompatible but be accepted by nethack but not work correctly due to a change in the 'context' structure. --- include/patchlevel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/patchlevel.h b/include/patchlevel.h index ca276c52c..cbc717e54 100644 --- a/include/patchlevel.h +++ b/include/patchlevel.h @@ -1,4 +1,4 @@ -/* NetHack 3.6 patchlevel.h $NHDT-Date: 1445215015 2015/10/19 00:36:55 $ $NHDT-Branch: master $:$NHDT-Revision: 1.109 $ */ +/* NetHack 3.6 patchlevel.h $NHDT-Date: 1447311411 2015/11/12 06:56:51 $ $NHDT-Branch: master $:$NHDT-Revision: 1.110 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -8,7 +8,7 @@ /* * PATCHLEVEL is updated for each release. */ -#define PATCHLEVEL 1 +#define PATCHLEVEL 0 /* * Incrementing EDITLEVEL can be used to force invalidation of old bones * and save files. -- 2.40.0