Merge pull request #1546 from nheir/debug_crash

debug=1 makes the game crash
This commit is contained in:
oy 2018-10-23 18:24:45 +02:00 committed by GitHub
commit 73bd52ac26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ bool CServerBrowserFavorites::AddFavoriteEx(const char *pHostname, const NETADDR
if(g_Config.m_Debug) if(g_Config.m_Debug)
{ {
char aBuf[256]; char aBuf[256];
str_format(aBuf, sizeof(aBuf), "added fav '%s' (%s)", pHostname); str_format(aBuf, sizeof(aBuf), "added fav '%s'", pHostname);
m_pConsole->Print(IConsole::OUTPUT_LEVEL_DEBUG, "client_srvbrowse", aBuf); m_pConsole->Print(IConsole::OUTPUT_LEVEL_DEBUG, "client_srvbrowse", aBuf);
} }