mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
fix variable declaration (#3849)
This commit is contained in:
parent
1828da63de
commit
7c19978aaa
1 changed files with 1 additions and 1 deletions
|
@ -781,8 +781,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);
|
||||
|
|
Loading…
Reference in a new issue