// if (!buf)
// Sys_Error ("COM_LoadFile: not enough zone space for %s (size %i)", path, len);
// break;
- case 3:
- buf = Cache_Alloc (loadcache, len+1, base);
- if (!buf)
- Sys_Error ("COM_LoadFile: not enough cache space for %s (size %i)", path, len);
- break;
+// case 3:
+// buf = Cache_Alloc (loadcache, len+1, base);
+// if (!buf)
+// Sys_Error ("COM_LoadFile: not enough cache space for %s (size %i)", path, len);
+// break;
case 5:
buf = qmalloc (len+1);
if (!buf)
return COM_LoadFile (path, 5, quiet);
}
+/*
void COM_LoadCacheFile (char *path, struct cache_user_s *cu, qboolean quiet)
{
loadcache = cu;
COM_LoadFile (path, 3, quiet);
}
+*/
/*
=================