aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/files.c
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-03-08 11:02:20 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-03-08 11:02:20 +0000
commit5be8abd55e4759dfafc790cb6bc9453f5a4918aa (patch)
treeb83330824fd11917d47118813a4d8d87a1f45da7 /code/qcommon/files.c
parent330a4c7d1f983621c1245012b478e5f66772665d (diff)
downloadioquake3-aero-5be8abd55e4759dfafc790cb6bc9453f5a4918aa.tar.gz
ioquake3-aero-5be8abd55e4759dfafc790cb6bc9453f5a4918aa.zip
accept pak0.pk3 in demoq3/ as well
git-svn-id: svn://svn.icculus.org/quake3/trunk@629 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/files.c')
-rw-r--r--code/qcommon/files.c3
1 files changed, 2 insertions, 1 deletions
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 ) {