Change default console title map name

Changed 'CHostState::ResetLevelName' to set 'no_map' as default map name when called.
This commit is contained in:
Kawe Mazidjatari 2023-02-26 19:44:16 +01:00
parent e12de45eaa
commit ffa8647e69

View File

@ -455,11 +455,7 @@ FORCEINLINE void CHostState::State_ChangeLevelMP(void)
//-----------------------------------------------------------------------------
FORCEINLINE void CHostState::ResetLevelName(void)
{
#ifdef DEDICATED
static const char* szNoMap = "server_idle";
#else // DEDICATED
static const char* szNoMap = "menu_main";
#endif
static const char* szNoMap = "no_map";
Q_snprintf(const_cast<char*>(m_levelName), sizeof(m_levelName), szNoMap);
}