mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
CONS_Printf: lock more of the function behind mutex
This commit is contained in:
parent
27764435f9
commit
3ea57bdf2f
1 changed files with 2 additions and 2 deletions
|
|
@ -1512,6 +1512,8 @@ void CONS_Printf(const char *fmt, ...)
|
|||
vsprintf(txt, fmt, argptr);
|
||||
va_end(argptr);
|
||||
|
||||
Lock_state();
|
||||
|
||||
// echo console prints to log file
|
||||
DEBFILE(txt);
|
||||
|
||||
|
|
@ -1521,8 +1523,6 @@ void CONS_Printf(const char *fmt, ...)
|
|||
|
||||
CON_LogMessage(txt);
|
||||
|
||||
Lock_state();
|
||||
|
||||
// make sure new text is visible
|
||||
con_scrollup = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue