Nuke looptrack from nq's client_state_t.

It's never actually used. The byte is still read from the network packet,
of course.
This commit is contained in:
Bill Currie 2012-06-26 09:06:19 +09:00
parent 8584021311
commit 56f68cf119
2 changed files with 2 additions and 2 deletions

View file

@ -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]

View file

@ -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);