Skip to content

Commit

Permalink
accept pak0.pk3 in demoq3/ as well
Browse files Browse the repository at this point in the history
  • Loading branch information
lnussel committed Mar 8, 2006
1 parent f52330b commit be6ca40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/qcommon/files.c
Expand Up @@ -2870,7 +2870,8 @@ static void FS_CheckPak0( void )
for( path = fs_searchpaths; path; path = path->next ) {
if( path->pack &&
!Q_stricmpn( path->pack->pakBasename, "pak0", MAX_OSPATH ) &&
!Q_stricmpn( path->pack->pakGamename, "baseq3", MAX_OSPATH ) ) {
(!Q_stricmpn( path->pack->pakGamename, "baseq3", MAX_OSPATH ) ||
!Q_stricmpn( path->pack->pakGamename, "demoq3", MAX_OSPATH ))) {
foundPak0 = qtrue;

if( path->pack->checksum == DEMO_PAK0_CHECKSUM ) {
Expand Down

0 comments on commit be6ca40

Please sign in to comment.