shithub: rott

Download patch

ref: 56730b276d5f608d57ad010a9bac168e1e68520b
parent: 025735945c30dd75aa8aae65b4e11d728ad0e4eb
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 08:14:31 EDT 2018

Removing obsolete *TEST code from rt_rand.h

--- a/rott/rt_rand.h
+++ b/rott/rt_rand.h
@@ -25,26 +25,11 @@
 void  InitializeRNG ( void );
 int   GetRandomSeed ( void );
 
-
-#if RANDOMTEST
-
-int   GameRNG ( char * string, int val );
-#define GameRandomNumber(string,val)   GameRNG(string, val)
-
-int   RNG ( char * string, int val );
-#define RandomNumber(string,val)   RNG(string, val)
-
-#else
-
 int   GameRNG ( void );
 #define GameRandomNumber(string,val)   GameRNG()
 
 int   RNG ( void );
 #define RandomNumber(string,val)   RNG()
-
-#endif
-
-
 
 void  SetRNGindex ( int i );
 int   GetRNGindex ( void );