From 8b35164e286683e4f7bf53c93063fe67d25cb47e Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Sat, 15 Sep 2007 00:33:06 +0000 Subject: Added sv_mvd_begincmd cvar. --- source/files.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'source/files.c') diff --git a/source/files.c b/source/files.c index 626ce8b..c859e92 100644 --- a/source/files.c +++ b/source/files.c @@ -1258,25 +1258,6 @@ void FS_FPrintf( fileHandle_t f, const char *format, ... ) { FS_Write( string, len, f ); } -uint32 _Com_HashPath( const char *string, int hashSize ) { - uint32 hash; - uint32 c; - - hash = 0; - while( *string ) { - c = *string++; - if( c == '\\' ) { - c = '/'; - } else { - c = Q_tolower( c ); - } - hash = 127 * hash + c; - } - - hash = ( hash >> 20 ) ^ ( hash >> 10 ) ^ hash; - return hash & ( hashSize - 1 ); -} - /* ================= FS_LoadPakFile -- cgit v1.2.3