Fix didn't work yet because it didn't use the buffer where the filename extension chop-off is done. D'oh!

This commit is contained in:
Thilo Schulz 2006-04-23 20:04:42 +00:00
parent 56294e2da8
commit 31fdab187c

View file

@ -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;
}
}