- while (entnum >= sv.max_edicts)
- SV_IncreaseEdicts();
- ent = EDICT_NUM(entnum);
- memset (ent->v, 0, progs->entityfields * 4);
- ent->e->free = false;
- ED_ParseEdict (start, ent);
+ while (entnum >= prog->max_edicts)
+ //SV_IncreaseEdicts();
+ PRVM_MEM_IncreaseEdicts();
+ ent = PRVM_EDICT_NUM(entnum);
+ memset (ent->fields.server, 0, prog->progs->entityfields * 4);
+ ent->priv.server->free = false;
+ PRVM_ED_ParseEdict (start, ent);