aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
Diffstat (limited to 'code/qcommon')
-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 ) {