mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
cleanup qport usage a little
This commit is contained in:
parent
05f35f9cd4
commit
aa6472da2b
2 changed files with 2 additions and 1 deletions
|
@ -51,6 +51,7 @@ extern netadr_t net_from; // address of who sent the packet
|
|||
extern struct msg_s *net_message;
|
||||
|
||||
extern struct cvar_s *hostname;
|
||||
extern struct cvar_s *qport;
|
||||
|
||||
extern int net_socket;
|
||||
|
||||
|
|
|
@ -284,7 +284,7 @@ CL_SendConnectPacket (void)
|
|||
|
||||
connect_time = realtime + t2 - t1; // for retransmit requests
|
||||
|
||||
cls.qport = Cvar_VariableValue ("qport");
|
||||
cls.qport = qport->int_val;
|
||||
|
||||
// Arrgh, this was not in the old binary only release, and eats up
|
||||
// far too much of the 196 chars in the userinfo space, leaving nothing
|
||||
|
|
Loading…
Reference in a new issue