diff options
author | M. Kristall <mkpdev@gmail.com> | 2009-10-26 00:34:53 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:05 +0000 |
commit | b06ccc671994f93745f23c693c5257d1741d312a (patch) | |
tree | 5cb4ef8549680778b4c7cdc218a7f5d18c0fdd7e /src | |
parent | 2326c2fbcc57bf9533793cbd3dd3012522a9d113 (diff) |
* Properly hash % again
Diffstat (limited to 'src')
-rw-r--r-- | src/qcommon/msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/msg.c b/src/qcommon/msg.c index dc1d1e9e..9e90b0f2 100644 --- a/src/qcommon/msg.c +++ b/src/qcommon/msg.c @@ -521,7 +521,7 @@ int MSG_HashKey(const char *string, int maxlen) { hash = 0; for (i = 0; i < maxlen && string[i] != '\0'; i++) { - if (string[i] & 0x80 || string[i] == '%') + if (string[i] & 0x80) hash += '.' * (119 + i); else hash += string[i] * (119 + i); |