summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/sv_net_chan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/sv_net_chan.c b/src/server/sv_net_chan.c
index e1d835d3..0de49d4f 100644
--- a/src/server/sv_net_chan.c
+++ b/src/server/sv_net_chan.c
@@ -65,7 +65,7 @@ static void SV_Netchan_Encode( client_t *client, msg_t *msg ) {
// modify the key with the last received and with this message acknowledged client command
if (!string[index])
index = 0;
- if (string[index] > 127 || string[index] == '%') {
+ if (string[index] > 127) {
key ^= '.' << (i & 1);
}
else {
@@ -115,7 +115,7 @@ static void SV_Netchan_Decode( client_t *client, msg_t *msg ) {
// modify the key with the last sent and acknowledged server command
if (!string[index])
index = 0;
- if (string[index] > 127 || string[index] == '%') {
+ if (string[index] > 127) {
key ^= '.' << (i & 1);
}
else {