diff options
Diffstat (limited to 'code/qcommon/common.c')
-rw-r--r-- | code/qcommon/common.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/code/qcommon/common.c b/code/qcommon/common.c index 2f4e843..b8bef85 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -673,22 +673,6 @@ int Com_FilterPath(char *filter, char *name, int casesensitive) } /* -============ -Com_HashKey -============ -*/ -int Com_HashKey(char *string, int maxlen) { - int register hash, i; - - hash = 0; - for (i = 0; i < maxlen && string[i] != '\0'; i++) { - hash += string[i] * (119 + i); - } - hash = (hash ^ (hash >> 10) ^ (hash >> 20)); - return hash; -} - -/* ================ Com_RealTime ================ |