mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-19 17:01:46 +00:00
fix a segfault causing silly
This commit is contained in:
parent
fc5daabb05
commit
f0c96dd15c
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ Team_ParseChat (const char *string)
|
|||
while (isspace ((byte) *s))
|
||||
s++;
|
||||
|
||||
for (i = 0; sizeof (f_replies) / sizeof (f_replies[0]); i++) {
|
||||
for (i = 0; i < sizeof (f_replies) / sizeof (f_replies[0]); i++) {
|
||||
if (!strncmp (f_replies[i].name, s, strlen (f_replies[i].name))
|
||||
&& realtime - f_replies[i].lasttime >= cl_freply->value) {
|
||||
while (*s && !isspace ((byte) *s))
|
||||
|
|
Loading…
Reference in a new issue