]> granicus.if.org Git - nethack/commitdiff
fix PATCHLEVEL
authorPatR <rankin@nethack.org>
Thu, 12 Nov 2015 06:56:57 +0000 (22:56 -0800)
committerPatR <rankin@nethack.org>
Thu, 12 Nov 2015 06:56:57 +0000 (22:56 -0800)
> 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

index ca276c52cf9ea5ae989d0b0ce3f8de5b6ae26e89..cbc717e54a4a2fe7d24f288114b11a2956410b5f 100644 (file)
@@ -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.