mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
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:
parent
8584021311
commit
56f68cf119
2 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue