mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-01 01:25:38 +03:00
Fixed build fail
This commit is contained in:
parent
dacd3bf14e
commit
f797704762
@ -1586,7 +1586,9 @@ void SV_New_f(void)
|
||||
|
||||
host_client->connected = TRUE;
|
||||
host_client->connection_started = realtime;
|
||||
#ifdef REHLDS_FIXES
|
||||
g_GameClients[host_client - g_psvs.clients]->SetupLocalGameTime();
|
||||
#endif
|
||||
host_client->m_sendrescount = 0;
|
||||
|
||||
SZ_Clear(&host_client->netchan.message);
|
||||
|
@ -31,7 +31,11 @@
|
||||
CGameClient** g_GameClients;
|
||||
|
||||
CGameClient::CGameClient(int id, client_t* cl)
|
||||
: m_NetChan(&cl->netchan), m_localGameTimeBase(0) {
|
||||
: m_NetChan(&cl->netchan)
|
||||
#ifdef REHLDS_FIXES
|
||||
, m_localGameTimeBase(0)
|
||||
#endif
|
||||
{
|
||||
m_Id = id;
|
||||
m_pClient = cl;
|
||||
m_bSpawnedOnce = false;
|
||||
|
Loading…
Reference in New Issue
Block a user