summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-10-07 17:32:29 +0000
committerrubidium <rubidium@openttd.org>2014-10-07 17:32:29 +0000
commitf28ff446e9ad4cca56710eb9804a5d1dd098d5e1 (patch)
tree0e50f3f89e3e553d513cde0e1cc710eff7bab836 /src/network
parent0af26b8a3786f243dd6920dbeac7d140fb447775 (diff)
downloadopenttd-f28ff446e9ad4cca56710eb9804a5d1dd098d5e1.tar.xz
(svn r26975) -Fix: reading too many bits when determining the client index for desync debug message
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_server.cpp2
1 files changed, 1 insertions, 1 deletions
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;