Changeset - r26028:eba51065b63c
[Not reviewed]
master
0 1 0
glx22 - 3 years ago 2021-10-19 01:06:01
glx@openttd.org
Fix #9624: compilation with RANDOM_DEBUG
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/network/network_client.cpp
Show inline comments
 
@@ -858,7 +858,11 @@ NetworkRecvStatus ClientNetworkGameSocke
 
#ifdef ENABLE_NETWORK_SYNC_EVERY_FRAME
 
	/* Test if the server supports this option
 
	 *  and if we are at the frame the server is */
 
	if (p->pos + 1 < p->size) {
 
#ifdef NETWORK_SEND_DOUBLE_SEED
 
	if (p->CanReadFromPacket(sizeof(uint32) + sizeof(uint32))) {
 
#else
 
	if (p->CanReadFromPacket(sizeof(uint32))) {
 
#endif
 
		_sync_frame = _frame_counter_server;
 
		_sync_seed_1 = p->Recv_uint32();
 
#ifdef NETWORK_SEND_DOUBLE_SEED
0 comments (0 inline, 0 general)