]> granicus.if.org Git - nethack/commitdiff
back into test mode
authornethack.rankin <nethack.rankin>
Sat, 13 Dec 2003 15:01:49 +0000 (15:01 +0000)
committernethack.rankin <nethack.rankin>
Sat, 13 Dec 2003 15:01:49 +0000 (15:01 +0000)
     Post-release, reset to BETA status to indicate development since
there's no ALPHA.  And use BETA to enable the latent RNG checks.

include/global.h
src/rnd.c

index 7e76bee8a3c4d5ebd448b974bbbdcac32004dce5..87277cb99df0200542965f347e7769fd1bd7521e 100644 (file)
@@ -1,4 +1,4 @@
-/*     SCCS Id: @(#)global.h   3.4     2003/02/19      */
+/*     SCCS Id: @(#)global.h   3.4     2003/12/13      */
 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
 /* NetHack may be freely redistributed.  See license for details. */
 
@@ -8,7 +8,7 @@
 #include <stdio.h>
 
 
-/* #define BETA        */      /* if a beta-test copy  [MRS] */
+#define BETA           /* development or beta testing [MRS] */
 
 /*
  * Files expected to exist in the playground directory.
index ae4bb8a203a301cf600efe1f6a6bd6a3707759c0..7b4ab0fec823d9bdaaafaf0b37c98c3905c0cc35 100644 (file)
--- a/src/rnd.c
+++ b/src/rnd.c
@@ -1,8 +1,12 @@
-/*     SCCS Id: @(#)rnd.c      3.4     1996/02/07      */
+/*     SCCS Id: @(#)rnd.c      3.4     2003/12/13      */
 /* NetHack may be freely redistributed.  See license for details. */
 
 #include "hack.h"
 
+#if defined(BETA) && !defined(DEBUG) && !defined(NODEBUG)
+#define DEBUG
+#endif
+
 /* "Rand()"s definition is determined by [OS]conf.h */
 #if defined(LINT) && defined(UNIX)     /* rand() is long... */
 extern int NDECL(rand);