Reduce duplication in FS path search code

This commit is contained in:
Tim Angus committed 2025-09-04 15:40:55 +01:00
1 parent 45788d29a3
commit 4b379e447c
2 files changed
+82 -125

No files matched your search

-2
View File
@@ -616,8 +616,6 @@ qboolean FS_ConditionalRestart(int checksumFeed, qboolean disconnect);
void FS_Restart( int checksumFeed );
// shutdown and restart the filesystem so changes to fs_gamedir can take effect
void FS_AddGameDirectory( const char *path, const char *dir );
char **FS_ListFiles( const char *directory, const char *extension, int *numfiles );
// directory should not have either a leading or trailing /
// if extension is "/", only subdirectories will be returned