From 0cc0253f5ccf4ba702501d2f81cab9382c8f35f5 Mon Sep 17 00:00:00 2001 From: Pavol Marko Date: Sat, 27 Mar 2004 17:40:06 +0000 Subject: [PATCH] added newlines to logging mode 2 (HL Logs) --- amxmodx/amxxlog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/amxmodx/amxxlog.cpp b/amxmodx/amxxlog.cpp index 4d8e0a47..e1043166 100755 --- a/amxmodx/amxxlog.cpp +++ b/amxmodx/amxxlog.cpp @@ -108,7 +108,7 @@ void AMXXLOG_Log(const char *fmt, ...) { if (s_inCreatingLogFile) { - ALERT(at_logged, "[AMXX] Unexpected fatal logging error. AMXX Logging disabled."); + ALERT(at_logged, "[AMXX] Unexpected fatal logging error. AMXX Logging disabled.\n"); CVAR_SET_FLOAT(init_amx_logging.name, 0.0f); return; } @@ -132,11 +132,11 @@ void AMXXLOG_Log(const char *fmt, ...) va_start(arglst, fmt); vsprintf(msg, fmt, arglst); va_end(arglst); - ALERT(at_logged, msg); + ALERT(at_logged, "%s\n", msg); } else { - ALERT(at_logged, "[AMXX] Invalid %s value. Setting to 0", init_amx_logging.name); + ALERT(at_logged, "[AMXX] Invalid %s value. Setting to 0\n", init_amx_logging.name); CVAR_SET_FLOAT(init_amx_logging.name, 0.0f); } }