summaryrefslogtreecommitdiff
path: root/src/qcommon/msg.c
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2009-10-26 00:34:53 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:05 +0000
commitb06ccc671994f93745f23c693c5257d1741d312a (patch)
tree5cb4ef8549680778b4c7cdc218a7f5d18c0fdd7e /src/qcommon/msg.c
parent2326c2fbcc57bf9533793cbd3dd3012522a9d113 (diff)
* Properly hash % again
Diffstat (limited to 'src/qcommon/msg.c')
-rw-r--r--src/qcommon/msg.c2
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);