diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-04-09 23:43:30 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-04-09 23:43:30 +0000 |
commit | ab59cd3f0e9f0261007f844f0853fbd9d29f856a (patch) | |
tree | 42e83b21a5b5903fe5dd7191ef2ff198d189290f /code/qcommon/files.c | |
parent | fd55fbe832148411137d50e2afa6ca2bc0197d0e (diff) | |
download | ioquake3-aero-ab59cd3f0e9f0261007f844f0853fbd9d29f856a.tar.gz ioquake3-aero-ab59cd3f0e9f0261007f844f0853fbd9d29f856a.zip |
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
Diffstat (limited to 'code/qcommon/files.c')
-rw-r--r-- | code/qcommon/files.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 |