diff --git a/rehlds/engine/sv_main.cpp b/rehlds/engine/sv_main.cpp index 0a216de..abd1246 100644 --- a/rehlds/engine/sv_main.cpp +++ b/rehlds/engine/sv_main.cpp @@ -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); diff --git a/rehlds/rehlds/rehlds_interfaces_impl.cpp b/rehlds/rehlds/rehlds_interfaces_impl.cpp index ca2b4c4..0ffc89f 100644 --- a/rehlds/rehlds/rehlds_interfaces_impl.cpp +++ b/rehlds/rehlds/rehlds_interfaces_impl.cpp @@ -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;