2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-01 01:25:38 +03:00

SV_ConnectClient: format *sid properly

This commit is contained in:
dreamstalker 2015-06-16 14:04:26 +04:00
parent 7314efd6e5
commit da547bd7c7

View File

@ -2387,7 +2387,7 @@ void SV_ConnectClient_internal(void)
host_client->userinfo[MAX_INFO_STRING - 1] = 0;
SV_ExtractFromUserinfo(host_client);
Info_SetValueForStarKey(host_client->userinfo, "*sid", va("%I64d", host_client->network_userid.m_SteamID), MAX_INFO_STRING);
Info_SetValueForStarKey(host_client->userinfo, "*sid", va("%lld", host_client->network_userid.m_SteamID), MAX_INFO_STRING);
host_client->datagram.flags = 1;
host_client->datagram.data = (byte *)host_client->datagram_buf;