From b06ccc671994f93745f23c693c5257d1741d312a Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Mon, 26 Oct 2009 00:34:53 +0000 Subject: * Properly hash % again --- src/qcommon/msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit