From f1ea286a44eabc2406b69ad8eee480183cb2b6a7 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 13 Feb 2002 17:50:47 +0000 Subject: [PATCH] don't bother writing client info for unused client slots. If demo compatability breaks, this is one place to check for why (but I don't think it will). --- qw/source/cl_demo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qw/source/cl_demo.c b/qw/source/cl_demo.c index 4829eb9a1..082998488 100644 --- a/qw/source/cl_demo.c +++ b/qw/source/cl_demo.c @@ -610,6 +610,8 @@ CL_Record_f (void) for (i = 0; i < MAX_CLIENTS; i++) { player = cl.players + i; + if (!player->userinfo) + continue; MSG_WriteByte (&buf, svc_updatefrags); MSG_WriteByte (&buf, i);