diff options
-rw-r--r-- | code/qcommon/files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/files.c b/code/qcommon/files.c index 2630a5c..5bb91a8 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -2565,7 +2565,7 @@ qboolean FS_idPak( char *pak, char *base ) { *pakptr = '\0'; for (i = 0; i < NUM_ID_PAKS; i++) { - if ( !FS_FilenameCompare(pak, va("%s/pak%d", base, i)) ) { + if ( !FS_FilenameCompare(pakbuf, va("%s/pak%d", base, i)) ) { break; } } |