diff options
author | Andrey Nazarov <skuller@skuller.net> | 2007-09-15 00:33:06 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2007-09-15 00:33:06 +0000 |
commit | 8b35164e286683e4f7bf53c93063fe67d25cb47e (patch) | |
tree | 9f38840ca342402dd4016f08693be393ba04dd89 /source/files.c | |
parent | 9ac630f0522481ad14703661d95e8ab83c137f35 (diff) |
Added sv_mvd_begincmd cvar.
Diffstat (limited to 'source/files.c')
-rw-r--r-- | source/files.c | 19 |
1 files changed, 0 insertions, 19 deletions
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 |