Fix yet another segfault.

Yet more bugs related to the change to using info key direct access :P
This commit is contained in:
Bill Currie 2012-06-29 17:58:15 +09:00
parent 39241867bb
commit 891500ac58

View file

@ -570,7 +570,7 @@ CL_Users_f (void)
Sys_Printf ("userid frags name\n");
Sys_Printf ("------ ----- ----\n");
for (i = 0; i < MAX_CLIENTS; i++) {
if (cl.players[i].name->value[0]) {
if (cl.players[i].name && cl.players[i].name->value[0]) {
Sys_Printf ("%6i %4i %s\n", cl.players[i].userid,
cl.players[i].frags, cl.players[i].name->value);
c++;