r515 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jan 22 12:05:44 EST 2006


Author: tma
Date: 2006-01-22 12:05:43 -0500 (Sun, 22 Jan 2006)
New Revision: 515

Modified:
   trunk/code/qcommon/files.c
Log:
* Only check the checksum on baseq3 pak0.pk3


Modified: trunk/code/qcommon/files.c
===================================================================
--- trunk/code/qcommon/files.c	2006-01-22 01:58:50 UTC (rev 514)
+++ trunk/code/qcommon/files.c	2006-01-22 17:05:43 UTC (rev 515)
@@ -2869,7 +2869,8 @@
 
 	for( path = fs_searchpaths; path; path = path->next ) {
 		if( path->pack &&
-				!Q_stricmpn( path->pack->pakBasename, "pak0", MAX_OSPATH ) ) {
+				!Q_stricmpn( path->pack->pakBasename, "pak0", MAX_OSPATH ) &&
+				!Q_stricmpn( path->pack->pakGamename, "baseq3", MAX_OSPATH ) ) {
 			foundPak0 = qtrue;
 
 			if( path->pack->checksum == DEMO_PAK0_CHECKSUM ) {




More information about the quake3-commits mailing list