// tweak these if the game runs out
cl.max_csqcrenderentities = 0;
- cl.max_entities = MAX_ENITIES_INITIAL;
+ cl.max_entities = MAX_ENTITIES_INITIAL;
cl.max_static_entities = MAX_STATICENTITIES;
cl.max_effects = MAX_EFFECTS;
cl.max_beams = MAX_BEAMS;
M_Update_Return_Reason("");
#endif
- // Disconnect from the current server, or stop a running demo.
- CL_Disconnect();
-
// make sure the client ports are open before attempting to connect
NetConn_UpdateSockets();
if (LHNETADDRESS_FromString(&cls.connect_address, address, 26000) && (cls.connect_mysocket = NetConn_ChooseClientSocketForAddress(&cls.connect_address)))
{
+ // Disconnect from the current server, or stop a running demo.
cls.connect_trying = true;
cls.connect_remainingtries = 3;
cls.connect_nextsendtime = 0;
{
Con_Printf("Initializing client\n");
+ Cvar_SetValueQuick(&host_isclient, 1);
+
R_Modules_Init();
Palette_Init();
#ifdef CONFIG_MENU