1
0
Fork 0
forked from fte/fteqw

Don't print the trailing junk in demos.

This commit is contained in:
Shpoike 2024-04-30 11:12:33 +01:00
parent 5397d3ecf6
commit 534f4874b1

View file

@ -3740,9 +3740,6 @@ qboolean TP_SuppressMessage(char *buf) {
char *s;
unsigned int seat;
if (cls.demoplayback)
return false;
for (s = buf; *s && *s != 0x7f; s++)
;
@ -3750,10 +3747,10 @@ qboolean TP_SuppressMessage(char *buf) {
*s++ = '\n';
*s++ = 0;
for (seat = 0; seat < cl.splitclients; seat++)
if (!cl.playerview[seat].spectator && *s - 'A' == cl.playerview[seat].playernum)
return true;
if (!cls.demoplayback)
for (seat = 0; seat < cl.splitclients; seat++)
if (!cl.playerview[seat].spectator && *s - 'A' == cl.playerview[seat].playernum)
return true;
}
return false;
}