mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Remove unnecessary cast to c string
This commit is contained in:
parent
73fba5fcb0
commit
f8807e4da9
@ -235,7 +235,7 @@ FORCEINLINE void CHostState::Think(void) const
|
|||||||
int32_t nPlayerCount = g_pServer->GetNumHumanPlayers();
|
int32_t nPlayerCount = g_pServer->GetNumHumanPlayers();
|
||||||
|
|
||||||
SetConsoleTitleA(fmt::format("{:s} - {:d}/{:d} Players ({:s} on {:s})",
|
SetConsoleTitleA(fmt::format("{:s} - {:d}/{:d} Players ({:s} on {:s})",
|
||||||
hostname->GetString(), nPlayerCount, g_ServerGlobalVariables->m_nMaxClients, svCurrentPlaylist.c_str(), m_levelName).c_str());
|
hostname->GetString(), nPlayerCount, g_ServerGlobalVariables->m_nMaxClients, svCurrentPlaylist, m_levelName).c_str());
|
||||||
statsTimer.Start();
|
statsTimer.Start();
|
||||||
}
|
}
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user