aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-22 17:05:43 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-22 17:05:43 +0000
commita05e7d2e4459992dd07f5719f5e86833fe8f5b8a (patch)
tree218bf71f9b7e4d5c8655f9aa83ea9191ed5c1d15 /code/qcommon
parent670a7d99911d0663c5db663ed74019dbbb12a498 (diff)
downloadioquake3-aero-a05e7d2e4459992dd07f5719f5e86833fe8f5b8a.tar.gz
ioquake3-aero-a05e7d2e4459992dd07f5719f5e86833fe8f5b8a.zip
* Only check the checksum on baseq3 pak0.pk3
git-svn-id: svn://svn.icculus.org/quake3/trunk@515 edf5b092-35ff-0310-97b2-ce42778d08ea
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 3d85c7c..8c78bab 100644
--- a/code/qcommon/files.c
+++ b/code/qcommon/files.c
@@ -2869,7 +2869,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->pakBasename, "pak0", MAX_OSPATH ) &&
+ !Q_stricmpn( path->pack->pakGamename, "baseq3", MAX_OSPATH ) ) {
foundPak0 = qtrue;
if( path->pack->checksum == DEMO_PAK0_CHECKSUM ) {