fixed empty log message on debug trace
This commit is contained in:
parent
00d8ffe503
commit
39070081d1
@ -1196,7 +1196,10 @@ void LogError(AMX *amx, int err, const char *fmt, ...)
|
||||
GenericError(amx, err, amx->curline, buf, NULL);
|
||||
}
|
||||
AMXXLOG_Log("[AMXX] %s", buf);
|
||||
AMXXLOG_Log("%s", vbuf);
|
||||
if (*vbuf)
|
||||
{
|
||||
AMXXLOG_Log("%s", vbuf);
|
||||
}
|
||||
} else {
|
||||
AMX_TRACE *t = dbg->tail;
|
||||
AMX_DEBUGCALL tracer = (AMX_DEBUGCALL)(amx->userdata[1]);
|
||||
|
Loading…
Reference in New Issue
Block a user