Remove static keyword

Can't be isolated to translation unit if only std::thread's ctor references it, triggers a compiler warning (C4505) that is treated as an error.
This commit is contained in:
Kawe Mazidjatari 2023-07-19 02:33:22 +02:00
parent ad6466fa6c
commit e67fcfd1fb

View File

@ -60,7 +60,7 @@
// Input : &netGameServer -
// Output : Returns true on success, false otherwise.
//-----------------------------------------------------------------------------
static bool HostState_KeepAlive(const NetGameServer_t& netGameServer)
bool HostState_KeepAlive(const NetGameServer_t& netGameServer)
{
if (!g_pServer->IsActive() || !sv_pylonVisibility->GetBool()) // Check for active game.
{