From 56f68cf119a524244d90c985c65cb855c250364c Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 26 Jun 2012 09:06:19 +0900 Subject: [PATCH] Nuke looptrack from nq's client_state_t. It's never actually used. The byte is still read from the network packet, of course. --- nq/include/client.h | 2 +- nq/source/cl_parse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nq/include/client.h b/nq/include/client.h index 97279db2d..bd9f04107 100644 --- a/nq/include/client.h +++ b/nq/include/client.h @@ -223,7 +223,7 @@ typedef struct { int num_entities; // held in cl_entities array entity_t viewent; // the weapon model - int cdtrack, looptrack; // cd audio + int cdtrack; // cd audio // frag scoreboard scoreboard_t *scores; // [cl.maxclients] diff --git a/nq/source/cl_parse.c b/nq/source/cl_parse.c index 61c7b12fa..0bf5c40d8 100644 --- a/nq/source/cl_parse.c +++ b/nq/source/cl_parse.c @@ -1150,7 +1150,7 @@ CL_ParseServerMessage (void) case svc_cdtrack: cl.cdtrack = MSG_ReadByte (net_message); - cl.looptrack = MSG_ReadByte (net_message); + MSG_ReadByte (net_message); // looptrack (not used) if ((cls.demoplayback || cls.demorecording) && (cls.forcetrack != -1)) CDAudio_Play ((byte) cls.forcetrack, true);