From bcb1609aa7ad9f6b19df8b512ddd2c74e294d020 Mon Sep 17 00:00:00 2001 From: thilo Date: Mon, 12 Oct 2009 17:17:15 +0000 Subject: Fix netcode inconsistency, thanks to /dev/humancontroller for the patch, see http://bugzilla.icculus.org/show_bug.cgi?id=4060 git-svn-id: svn://svn.icculus.org/quake3/trunk@1661 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/common.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'code/qcommon/common.c') 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 @@ -672,22 +672,6 @@ int Com_FilterPath(char *filter, char *name, int casesensitive) return Com_Filter(new_filter, new_name, 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 -- cgit v1.2.3