r629 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Mar 8 06:02:20 EST 2006


Author: ludwig
Date: 2006-03-08 06:02:20 -0500 (Wed, 08 Mar 2006)
New Revision: 629

Modified:
   trunk/code/qcommon/files.c
Log:
accept pak0.pk3 in demoq3/ as well


Modified: trunk/code/qcommon/files.c
===================================================================
--- trunk/code/qcommon/files.c	2006-03-05 20:07:07 UTC (rev 628)
+++ trunk/code/qcommon/files.c	2006-03-08 11:02:20 UTC (rev 629)
@@ -2870,7 +2870,8 @@
 	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 ) {




More information about the quake3-commits mailing list