diff --git a/libs/util/quakefs.c b/libs/util/quakefs.c index c23979c7d..f599a02f7 100644 --- a/libs/util/quakefs.c +++ b/libs/util/quakefs.c @@ -1271,7 +1271,7 @@ QFS_NextFilename (dstring_t *filename, const char *prefix, const char *ext) digits[1] = i / 100 % 10 + '0'; digits[2] = i / 10 % 10 + '0'; digits[3] = i % 10 + '0'; - if (Sys_FileTime (va ("%s/%s/%s", qfs_userpath, filename->str)) == -1) + if (Sys_FileTime (va ("%s/%s", qfs_userpath, filename->str)) == -1) return 1; // file doesn't exist } return 0;