mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-01-31 11:20:32 +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';
|
*pakptr = '\0';
|
||||||
|
|
||||||
for (i = 0; i < NUM_ID_PAKS; i++) {
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue