diff options
Diffstat (limited to 'src/qcommon/files.c')
-rw-r--r-- | src/qcommon/files.c | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/src/qcommon/files.c b/src/qcommon/files.c index 6948d953..b8a70a22 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -1184,14 +1184,13 @@ long FS_FOpenFileReadDir(const char *filename, searchpath_t *search, fileHandle_ !FS_IsExt(filename, ".bot", len) && !FS_IsExt(filename, ".arena", len) && !FS_IsExt(filename, ".menu", len) && + Q_stricmp(filename, "qagame.qvm") != 0 && !strstr(filename, "levelshots")) { pak->referenced |= FS_GENERAL_REF; } } - if(strstr(filename, "game.qvm")) - pak->referenced |= FS_QAGAME_REF; if(strstr(filename, "cgame.qvm")) pak->referenced |= FS_CGAME_REF; if(strstr(filename, "ui.qvm")) @@ -3154,31 +3153,6 @@ static void FS_Startup( const char *gameName ) /* ===================== -FS_GamePureChecksum - -Returns the checksum of the pk3 from which the server loaded the game.qvm -===================== -*/ -const char *FS_GamePureChecksum( void ) { - static char info[MAX_STRING_TOKENS]; - searchpath_t *search; - - info[0] = 0; - - for ( search = fs_searchpaths ; search ; search = search->next ) { - // is the element a pak file? - if ( search->pack ) { - if (search->pack->referenced & FS_QAGAME_REF) { - Com_sprintf(info, sizeof(info), "%d", search->pack->checksum); - } - } - } - - return info; -} - -/* -===================== FS_LoadedPakChecksums Returns a space separated string containing the checksums of all loaded pk3 files. |