From 659c21ef2dc9b2aee04f7ea76c2dd7198324a4d0 Mon Sep 17 00:00:00 2001 From: lordhavoc Date: Sat, 21 Oct 2000 10:22:24 +0000 Subject: [PATCH] fix for serious bug in .nodrawtoclient, .drawonlytoclient, and .viewmodelforclient comparisons - they now work git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@59 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sv_main.c b/sv_main.c index d3abe086..d888e5a0 100644 --- a/sv_main.c +++ b/sv_main.c @@ -443,7 +443,7 @@ void SV_WriteEntitiesToClient (edict_t *clent, sizebuf_t *msg) MSG_WriteFloat(msg, org[2]); } - clentnum = NUM_FOR_EDICT(clent); // LordHavoc: for comparison purposes + clentnum = EDICT_TO_PROG(clent); // LordHavoc: for comparison purposes // send over all entities (except the client) that touch the pvs ent = NEXT_EDICT(sv.edicts); for (e=1 ; e