Fixed build fail

This commit is contained in:
WPMGPRoSToTeMa 2017-02-06 20:29:36 +03:00
parent dacd3bf14e
commit f797704762
2 changed files with 7 additions and 1 deletions

View File

@ -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);

View File

@ -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;