engine: client: fix parsing svc_setpause and svc_goldsrc_timescale for GoldSrc protocol
This commit is contained in:
parent
17f194b9a3
commit
2b85da3bc9
1 changed files with 7 additions and 1 deletions
|
@ -636,7 +636,7 @@ void CL_ParseGoldSrcServerMessage( sizebuf_t *msg )
|
||||||
MSG_EndBitWriting( msg );
|
MSG_EndBitWriting( msg );
|
||||||
break;
|
break;
|
||||||
case svc_setpause:
|
case svc_setpause:
|
||||||
cl.paused = ( MSG_ReadOneBit( msg ) != 0 );
|
cl.paused = ( MSG_ReadByte( msg ) != 0 );
|
||||||
break;
|
break;
|
||||||
case svc_signonnum:
|
case svc_signonnum:
|
||||||
CL_ParseSignon( msg, PROTO_GOLDSRC );
|
CL_ParseSignon( msg, PROTO_GOLDSRC );
|
||||||
|
@ -712,6 +712,12 @@ void CL_ParseGoldSrcServerMessage( sizebuf_t *msg )
|
||||||
case svc_resourcelocation:
|
case svc_resourcelocation:
|
||||||
CL_ParseResLocation( msg );
|
CL_ParseResLocation( msg );
|
||||||
break;
|
break;
|
||||||
|
case svc_goldsrc_timescale:
|
||||||
|
// we can set sys_timescale to anything we want but in GoldSrc it's locked for
|
||||||
|
// HLTV and demoplayback. Do we really want to have it then if both are out of scope?
|
||||||
|
Con_Reportf( S_ERROR "%s: svc_goldsrc_timescale: implement me!\n", __func__ );
|
||||||
|
MSG_ReadFloat( msg );
|
||||||
|
break;
|
||||||
case svc_goldsrc_sendextrainfo:
|
case svc_goldsrc_sendextrainfo:
|
||||||
CL_ParseExtraInfo( msg );
|
CL_ParseExtraInfo( msg );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue