File diff r1537:060bed3865f5 → r1538:9b83bdd8ee42
functions.h
Show inline comments
 
@@ -89,13 +89,13 @@ void NORETURN CDECL error(const char *st
 
// *  stdout if the first client joins (or if you are a client). This
 
// *  is to help finding desync problems.
 
// *
 
// * Warning: DO NOT enable this unless you understand what it does
 
// **************
 

	
 
//#define RANDOM_DEBUG
 
#define RANDOM_DEBUG
 

	
 
#ifdef RANDOM_DEBUG
 
	#define Random() DoRandom(__LINE__, __FILE__)
 
	uint32 DoRandom(int line, const char *file);
 
	#define RandomRange(max) DoRandomRange(max, __LINE__, __FILE__)
 
	uint DoRandomRange(uint max, int line, const char *file);