mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 13:11:30 +00:00
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:
parent
56294e2da8
commit
31fdab187c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue