if (num >= cl.max_entities)
{
if (!cl.entities)
- Sys_Abort("CL_ExpandEntities: cl.entities not initialized");
+ Sys_Error("CL_ExpandEntities: cl.entities not initialized");
if (num >= MAX_EDICTS)
Host_Error("CL_ExpandEntities: num %i >= %i", num, MAX_EDICTS);
oldmaxentities = cl.max_entities;
CL_UpdateViewModel();
// when csqc is loaded, it will call this in CSQC_UpdateView
- if (!cl.csqc_loaded)
+ if (!CLVM_prog->loaded || CLVM_prog->flag & PRVM_CSQC_SIMPLE)
{
// clear the CL_Mesh_Scene() used for some engine effects
CL_MeshEntities_Scene_Clear();