From ab59cd3f0e9f0261007f844f0853fbd9d29f856a Mon Sep 17 00:00:00 2001 From: thilo Date: Wed, 9 Apr 2008 23:43:30 +0000 Subject: Include #ifdef to make it easier to create a stand-alone binary. git-svn-id: svn://svn.icculus.org/quake3/trunk@1307 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/files.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'code/qcommon/files.c') diff --git a/code/qcommon/files.c b/code/qcommon/files.c index a1d3312..32a24da 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -2795,6 +2795,7 @@ static void FS_Startup( const char *gameName ) Com_Printf( "%d files in pk3 files\n", fs_packFiles ); } +#ifndef STANDALONE /* =================== FS_CheckPak0 @@ -2891,6 +2892,7 @@ static void FS_CheckPak0( void ) Com_Error(ERR_FATAL, "You need to install Quake III Arena in order to play"); } } +#endif /* ===================== @@ -3262,7 +3264,9 @@ void FS_InitFilesystem( void ) { // try to start up normally FS_Startup( BASEGAME ); +#ifndef STANDALONE FS_CheckPak0( ); +#endif // if we can't find default.cfg, assume that the paths are // busted and error out now, rather than getting an unreadable @@ -3295,7 +3299,9 @@ void FS_Restart( int checksumFeed ) { // try to start up normally FS_Startup( BASEGAME ); +#ifndef STANDALONE FS_CheckPak0( ); +#endif // if we can't find default.cfg, assume that the paths are // busted and error out now, rather than getting an unreadable -- cgit v1.2.3