From ffa8647e69242b82765e61bc0a256fa88ce71f4c Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 26 Feb 2023 19:44:16 +0100 Subject: [PATCH] Change default console title map name Changed 'CHostState::ResetLevelName' to set 'no_map' as default map name when called. --- r5dev/engine/host_state.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/r5dev/engine/host_state.cpp b/r5dev/engine/host_state.cpp index bf565d73..d22a1d54 100644 --- a/r5dev/engine/host_state.cpp +++ b/r5dev/engine/host_state.cpp @@ -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(m_levelName), sizeof(m_levelName), szNoMap); }