cleanup qport usage a little

This commit is contained in:
Bill Currie 2001-10-27 08:28:15 +00:00
parent 05f35f9cd4
commit aa6472da2b
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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