mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
show what console says
This commit is contained in:
parent
bde21fa510
commit
f561d25a84
1 changed files with 2 additions and 0 deletions
|
@ -704,6 +704,7 @@ SV_Tell (const char *prefix)
|
||||||
i = strlen (text);
|
i = strlen (text);
|
||||||
strncat (text, p, sizeof (text) - 1 - i);
|
strncat (text, p, sizeof (text) - 1 - i);
|
||||||
text[sizeof (text) - 1] = 0;
|
text[sizeof (text) - 1] = 0;
|
||||||
|
SV_Printf ("%s\n", text);
|
||||||
for (; text[i];)
|
for (; text[i];)
|
||||||
text[i++] |= 0x80; // non-bold text
|
text[i++] |= 0x80; // non-bold text
|
||||||
SV_ClientPrintf (1, cl, PRINT_CHAT, "\n"); // bell
|
SV_ClientPrintf (1, cl, PRINT_CHAT, "\n"); // bell
|
||||||
|
@ -772,6 +773,7 @@ SV_ConSay (const char *prefix)
|
||||||
strcat (text, "\x8d "); // and arrow
|
strcat (text, "\x8d "); // and arrow
|
||||||
j = strlen (text);
|
j = strlen (text);
|
||||||
strncat (text, p, sizeof (text) - j);
|
strncat (text, p, sizeof (text) - j);
|
||||||
|
SV_Printf ("%s\n", text);
|
||||||
while (text[j])
|
while (text[j])
|
||||||
text[j++] |= 0x80; // non-bold text
|
text[j++] |= 0x80; // non-bold text
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue