}
-extern mempool_t *edictstring_mempool;
-
/*
===============
Host_Loadgame_f
{
// light style
COM_ParseToken(&t, false);
- sv.lightstyles[i] = Mem_Alloc(edictstring_mempool, strlen(com_token)+1);
- strcpy (sv.lightstyles[i], com_token);
+ sv.lightstyles[i] = PR_Alloc(strlen(com_token)+1);
+ strcpy(sv.lightstyles[i], com_token);
}
// load the edicts out of the savegame file
if (svs.clients)
Mem_Free(svs.clients);
svs.maxclients = n;
- svs.clients = Mem_Alloc(sv_clients_mempool, sizeof(client_t) * svs.maxclients);
+ svs.clients = Mem_Alloc(sv_mempool, sizeof(client_t) * svs.maxclients);
if (n == 1)
Cvar_Set ("deathmatch", "0");
else