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;
|
char *s;
|
||||||
unsigned int seat;
|
unsigned int seat;
|
||||||
|
|
||||||
if (cls.demoplayback)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
for (s = buf; *s && *s != 0x7f; s++)
|
for (s = buf; *s && *s != 0x7f; s++)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -3750,10 +3747,10 @@ qboolean TP_SuppressMessage(char *buf) {
|
||||||
*s++ = '\n';
|
*s++ = '\n';
|
||||||
*s++ = 0;
|
*s++ = 0;
|
||||||
|
|
||||||
for (seat = 0; seat < cl.splitclients; seat++)
|
if (!cls.demoplayback)
|
||||||
if (!cl.playerview[seat].spectator && *s - 'A' == cl.playerview[seat].playernum)
|
for (seat = 0; seat < cl.splitclients; seat++)
|
||||||
return true;
|
if (!cl.playerview[seat].spectator && *s - 'A' == cl.playerview[seat].playernum)
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue