/* <b9db7> ../engine/sv_upld.c:276 */ void SV_MoveToOnHandList(resource_t *pResource) { if (!pResource) { Con_DPrintf("Null resource passed to SV_MoveToOnHandList\n"); return; } SV_RemoveFromResourceList(pResource); SV_AddToResourceList(pResource, &host_client->resourcesonhand); }
/* <b9e76> ../engine/sv_upld.c:316 */ void SV_ClearResourceList(resource_t *pList) { resource_t *p, *n; for( p = pList->pNext; p && p != pList; p = n ) { n = p->pNext; SV_RemoveFromResourceList(p); Mem_Free(p); } pList->pPrev = pList; pList->pNext = pList; }
/* <b9e76> ../engine/sv_upld.c:316 */ void SV_ClearResourceList(resource_t *pList) { resource_t *p, *n; p = pList->pNext; while (p != NULL) { if (p == pList) break; n = p->pNext; SV_RemoveFromResourceList(p); Mem_Free(p); p = n; } pList->pPrev = pList; pList->pNext = pList; }