summaryrefslogtreecommitdiff
path: root/src/client/cl_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_input.c')
-rw-r--r--src/client/cl_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_input.c b/src/client/cl_input.c
index cb95ce8c..dae244bb 100644
--- a/src/client/cl_input.c
+++ b/src/client/cl_input.c
@@ -782,8 +782,8 @@ void CL_WritePacket( void ) {
} else if (Q_stricmp(target, "none") == 0) {
clc.voipTarget1 = clc.voipTarget2 = clc.voipTarget3 = 0;
} else {
- clc.voipTarget1 = clc.voipTarget2 = clc.voipTarget3 = 0;
const char *ptr = target;
+ clc.voipTarget1 = clc.voipTarget2 = clc.voipTarget3 = 0;
do {
if ((*ptr == ',') || (*ptr == '\0')) {
const int val = atoi(target);