engine: client: remove unused fields in client_static_t
This commit is contained in:
parent
13274655d4
commit
b447ea9c18
2 changed files with 6 additions and 6 deletions
|
@ -1877,8 +1877,12 @@ void CL_ParseHLTV( sizebuf_t *msg )
|
||||||
break;
|
break;
|
||||||
case HLTV_LISTEN:
|
case HLTV_LISTEN:
|
||||||
cls.signon = SIGNONS;
|
cls.signon = SIGNONS;
|
||||||
|
#if 1
|
||||||
|
MSG_ReadString( msg );
|
||||||
|
#else
|
||||||
NET_StringToAdr( MSG_ReadString( msg ), &cls.hltv_listen_address );
|
NET_StringToAdr( MSG_ReadString( msg ), &cls.hltv_listen_address );
|
||||||
// NET_JoinGroup( cls.netchan.sock, cls.hltv_listen_address );
|
NET_JoinGroup( cls.netchan.sock, cls.hltv_listen_address );
|
||||||
|
#endif
|
||||||
SCR_EndLoadingPlaque();
|
SCR_EndLoadingPlaque();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -539,12 +539,8 @@ typedef struct
|
||||||
|
|
||||||
poolhandle_t mempool; // client premamnent pool: edicts etc
|
poolhandle_t mempool; // client premamnent pool: edicts etc
|
||||||
|
|
||||||
netadr_t hltv_listen_address;
|
|
||||||
|
|
||||||
int signon; // 0 to SIGNONS, for the signon sequence.
|
int signon; // 0 to SIGNONS, for the signon sequence.
|
||||||
int quakePort; // a 16 bit value that allows quake servers
|
|
||||||
// to work around address translating routers
|
|
||||||
// g-cont. this port allow many copies of engine in multiplayer game
|
|
||||||
// connection information
|
// connection information
|
||||||
char servername[MAX_QPATH]; // name of server from original connect
|
char servername[MAX_QPATH]; // name of server from original connect
|
||||||
double connect_time; // for connection retransmits
|
double connect_time; // for connection retransmits
|
||||||
|
|
Loading…
Add table
Reference in a new issue