From 5be8abd55e4759dfafc790cb6bc9453f5a4918aa Mon Sep 17 00:00:00 2001 From: ludwig Date: Wed, 8 Mar 2006 11:02:20 +0000 Subject: accept pak0.pk3 in demoq3/ as well git-svn-id: svn://svn.icculus.org/quake3/trunk@629 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/files.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'code/qcommon') diff --git a/code/qcommon/files.c b/code/qcommon/files.c index 8c78bab..d20b3a1 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -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 ) { -- cgit v1.2.3