-void EntityFrameCSQC_ClearVersions (void)
-{
- if(sv2csqc)
- {
- Mem_FreePool(&sv2csqc);
- sv2csqc = NULL;
- }
- memset(sv2csqcents_version, 0, MAX_SCOREBOARD*sizeof(unsigned char *));
-}
-
-void EntityFrameCSQC_InitClientVersions (int client, qboolean clear)
-{
- if(!sv2csqc)
- sv2csqc = Mem_AllocPool("SV2CSQC", 0, NULL);
- if(sv2csqcents_version[client])
- {
- Mem_Free(sv2csqcents_version[client]);
- sv2csqcents_version[client] = NULL;
- }
- sv2csqcents_version[client] = (unsigned char *)Mem_Alloc(sv2csqc, MAX_EDICTS);
- memset(sv2csqcents_version[client], 0, MAX_EDICTS);
-}
-