MSG_WriteByte (&cls.message, clc_stringcmd);
MSG_WriteString (&cls.message, va("pmodel %i\n", cl_pmodel.integer));
}
+ if (*cl_playermodel.string)
+ {
+ MSG_WriteByte (&cls.message, clc_stringcmd);
+ MSG_WriteString (&cls.message, va("playermodel %s\n", cl_playermodel.string));
+ }
+ if (*cl_playerskin.string)
+ {
+ MSG_WriteByte (&cls.message, clc_stringcmd);
+ MSG_WriteString (&cls.message, va("playerskin %s\n", cl_playerskin.string));
+ }
MSG_WriteByte (&cls.message, clc_stringcmd);
MSG_WriteString (&cls.message, va("rate %i\n", cl_rate.integer));
return;
}
cl.protocol = i;
- Con_DPrintf("Protocol %i\n", cl.protocol);
+ Con_DPrintf("Server protocol is %i\n", cl.protocol);
// parse maxclients
cl.maxclients = MSG_ReadByte ();
if (i >= 1 && i < MAX_SOUNDS)
{
sfx_t *sfx = S_PrecacheSound (s, true, false);
- if (!sfx)
+ if (!sfx && snd_initialized.integer)
Con_Printf("svc_precache: S_PrecacheSound(\"%s\") failed\n", s);
cl.sound_precache[i] = sfx;
}
Cvar_SetValue("demo_nehahra", 1);
Cvar_RegisterVariable(&developer_networkentities);
}
+
+void CL_Parse_Shutdown(void)
+{
+ Mem_FreePool (&cl_scores_mempool);
+}