mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 03:51:32 +00:00
Don't print the trailing junk in demos.
This commit is contained in:
parent
5397d3ecf6
commit
534f4874b1
1 changed files with 4 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue