summaryrefslogtreecommitdiff
path: root/src/client/cl_net_chan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_net_chan.c')
-rw-r--r--src/client/cl_net_chan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_net_chan.c b/src/client/cl_net_chan.c
index ef214fe4..50b608cc 100644
--- a/src/client/cl_net_chan.c
+++ b/src/client/cl_net_chan.c
@@ -69,7 +69,7 @@ static void CL_Netchan_Encode( msg_t *msg ) {
// modify the key with the last received now acknowledged server 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 CL_Netchan_Decode( msg_t *msg ) {
// modify the key with the last sent 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 {