Changeset - r14544:47ddf4cd89b3
[Not reviewed]
master
0 1 0
frosch - 15 years ago 2010-02-13 20:13:34
frosch@openttd.org
(svn r19125) -Fix (r18809): Compiling with desync-debug failed.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/core/random_func.cpp
Show inline comments
 
@@ -39,12 +39,13 @@ void SetRandomSeed(uint32 seed)
 
{
 
	_random.SetSeed(seed);
 
	_interactive_random.SetSeed(seed * 0x1234567);
 
}
 

	
 
#ifdef RANDOM_DEBUG
 
#include "../network/network.h"
 
#include "../network/network_internal.h"
 
#include "../company_func.h"
 

	
 
uint32 DoRandom(int line, const char *file)
 
{
 
	if (_networking && (!_network_server || (NetworkClientSocket::IsValidID(0) && NetworkClientSocket::Get(0)->status != STATUS_INACTIVE))) {
0 comments (0 inline, 0 general)