mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-29 16:01:44 +00:00
[net] Remove client references from net_main
This is progress towards #23. There are still some references to host_time and host_client (via nq's server.h), and a lot of references to sv and svs, but this is definitely a step in the right direction.
This commit is contained in:
parent
8f56f28ad7
commit
f6541dbe3f
13 changed files with 41 additions and 40 deletions
|
@ -306,7 +306,7 @@ CL_Disconnect_f (void)
|
|||
void
|
||||
CL_EstablishConnection (const char *host)
|
||||
{
|
||||
if (cls.state == ca_dedicated)
|
||||
if (net_is_dedicated)
|
||||
return;
|
||||
|
||||
if (cls.demoplayback)
|
||||
|
@ -510,8 +510,6 @@ CL_SetState (cactive_t state)
|
|||
r_funcs->R_ClearState ();
|
||||
}
|
||||
switch (state) {
|
||||
case ca_dedicated:
|
||||
break;
|
||||
case ca_disconnected:
|
||||
CL_ClearState ();
|
||||
cls.signon = so_none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue