From 6532179d3dbc7d495cf7a401d9fb40fc2f7815e6 Mon Sep 17 00:00:00 2001 From: thilo Date: Sun, 23 Apr 2006 20:04:42 +0000 Subject: Fix didn't work yet because it didn't use the buffer where the filename extension chop-off is done. D'oh! git-svn-id: svn://svn.icculus.org/quake3/trunk@722 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code') 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; } } -- cgit v1.2.3