Rename FS_SV_* to FS_BaseDir_*

This commit is contained in:
Tim Angus committed 2025-09-04 15:40:55 +01:00
1 parent cadc8ab017
commit 3b90b76d7f
9 files changed
+33 -33

No files matched your search

+2 -2
View File
@@ -651,7 +651,7 @@ static void SV_RehashBans_f(void)
Com_sprintf(filepath, sizeof(filepath), "%s/%s", FS_GetCurrentGameDir(), sv_banFile->string);
if((filelen = FS_SV_FOpenFileRead(filepath, &readfrom)) >= 0)
if((filelen = FS_BaseDir_FOpenFileRead(filepath, &readfrom)) >= 0)
{
if(filelen < 2)
{
@@ -730,7 +730,7 @@ static void SV_WriteBans(void)
Com_sprintf(filepath, sizeof(filepath), "%s/%s", FS_GetCurrentGameDir(), sv_banFile->string);
if((writeto = FS_SV_FOpenFileWrite(filepath)))
if((writeto = FS_BaseDir_FOpenFileWrite(filepath)))
{
char writebuf[128];
serverBan_t *curban;
+1 -1
View File
@@ -998,7 +998,7 @@ int SV_WriteDownloadToClient(client_t *cl, msg_t *msg)
if ( !(sv_allowDownload->integer & DLF_ENABLE) ||
(sv_allowDownload->integer & DLF_NO_UDP) ||
idPack || unreferenced ||
( cl->downloadSize = FS_SV_FOpenFileRead( cl->downloadName, &cl->download ) ) < 0 ) {
( cl->downloadSize = FS_BaseDir_FOpenFileRead( cl->downloadName, &cl->download ) ) < 0 ) {
// cannot auto-download file
if(unreferenced)
{