From f28ff446e9ad4cca56710eb9804a5d1dd098d5e1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 7 Oct 2014 17:32:29 +0000 Subject: (svn r26975) -Fix: reading too many bits when determining the client index for desync debug message --- src/network/network_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp index dc18658a9..6a33c73d8 100644 --- a/src/network/network_server.cpp +++ b/src/network/network_server.cpp @@ -953,7 +953,7 @@ NetworkRecvStatus ServerNetworkGameSocketHandler::Receive_CLIENT_JOIN(Packet *p) strecpy(ci->client_name, name, lastof(ci->client_name)); ci->client_playas = playas; ci->client_lang = client_lang; - DEBUG(desync, 1, "client: %08x; %02x; %02x; %04x", _date, _date_fract, (int)ci->client_playas, ci->index); + DEBUG(desync, 1, "client: %08x; %02x; %02x; %02x", _date, _date_fract, (int)ci->client_playas, (int)ci->index); /* Make sure companies to which people try to join are not autocleaned */ if (Company::IsValidID(playas)) _network_company_states[playas].months_empty = 0; -- cgit v1.2.3-70-g09d2