mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
parent
788f29de94
commit
26780805c8
1 changed files with 3 additions and 1 deletions
|
@ -2932,7 +2932,9 @@ void FS_AddGameDirectory( const char *path, const char *dir ) {
|
|||
// Get .pk3 files
|
||||
pakfiles = Sys_ListFiles(curpath, ".pk3", NULL, &numfiles, qfalse);
|
||||
|
||||
qsort( pakfiles, numfiles, sizeof(char*), paksort );
|
||||
if ( pakfiles ) {
|
||||
qsort( pakfiles, numfiles, sizeof(char*), paksort );
|
||||
}
|
||||
|
||||
if ( fs_numServerPaks ) {
|
||||
numdirs = 0;
|
||||
|
|
Loading…
Reference in a new issue