mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +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
|
int num_entities; // held in cl_entities array
|
||||||
entity_t viewent; // the weapon model
|
entity_t viewent; // the weapon model
|
||||||
|
|
||||||
int cdtrack, looptrack; // cd audio
|
int cdtrack; // cd audio
|
||||||
|
|
||||||
// frag scoreboard
|
// frag scoreboard
|
||||||
scoreboard_t *scores; // [cl.maxclients]
|
scoreboard_t *scores; // [cl.maxclients]
|
||||||
|
|
|
@ -1150,7 +1150,7 @@ CL_ParseServerMessage (void)
|
||||||
|
|
||||||
case svc_cdtrack:
|
case svc_cdtrack:
|
||||||
cl.cdtrack = MSG_ReadByte (net_message);
|
cl.cdtrack = MSG_ReadByte (net_message);
|
||||||
cl.looptrack = MSG_ReadByte (net_message);
|
MSG_ReadByte (net_message); // looptrack (not used)
|
||||||
if ((cls.demoplayback || cls.demorecording)
|
if ((cls.demoplayback || cls.demorecording)
|
||||||
&& (cls.forcetrack != -1))
|
&& (cls.forcetrack != -1))
|
||||||
CDAudio_Play ((byte) cls.forcetrack, true);
|
CDAudio_Play ((byte) cls.forcetrack, true);
|
||||||
|
|
Loading…
Reference in a new issue