From eb11388cac415a32ef377126270759bd2cd0e966 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Tue, 8 Feb 2011 20:27:49 +0000 Subject: [PATCH] Fix STANDALONE in files.c --- code/qcommon/files.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/qcommon/files.c b/code/qcommon/files.c index 8c719d0c..50c360d1 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -2656,8 +2656,12 @@ qboolean FS_ComparePaks( char *neededpaks, int len, qboolean dlstring ) { havepak = qfalse; // never autodownload any of the id paks - if ( FS_idPak(fs_serverReferencedPakNames[i], BASEGAME, NUM_ID_PAKS) - || FS_idPak(fs_serverReferencedPakNames[i], BASETA, NUM_TA_PAKS) ) { + if(FS_idPak(fs_serverReferencedPakNames[i], BASEGAME, NUM_ID_PAKS) +#ifndef STANDALONE + || FS_idPak(fs_serverReferencedPakNames[i], BASETA, NUM_TA_PAKS) +#endif + ) + { continue; }