mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +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