mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Z Voting: Remove debug prints
This commit is contained in:
parent
996ca9adad
commit
65d6877283
1 changed files with 0 additions and 3 deletions
|
|
@ -125,7 +125,6 @@ static void Command_CallVote(void)
|
||||||
|
|
||||||
voteVariableStr = COM_Argv(2);
|
voteVariableStr = COM_Argv(2);
|
||||||
voteVariable = atoi(voteVariableStr);
|
voteVariable = atoi(voteVariableStr);
|
||||||
CONS_Printf("voteVariable: %d\n", voteVariable);
|
|
||||||
|
|
||||||
if (K_MidVoteTypeUsesVictim(voteType) == true)
|
if (K_MidVoteTypeUsesVictim(voteType) == true)
|
||||||
{
|
{
|
||||||
|
|
@ -134,14 +133,12 @@ static void Command_CallVote(void)
|
||||||
if (strcasecmp(player_names[i], voteVariableStr) == 0)
|
if (strcasecmp(player_names[i], voteVariableStr) == 0)
|
||||||
{
|
{
|
||||||
voteVariable = i;
|
voteVariable = i;
|
||||||
CONS_Printf("voteVariable as player name: %s\n", player_names[i]);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (voteVariable >= 0 && voteVariable < MAXPLAYERS)
|
if (voteVariable >= 0 && voteVariable < MAXPLAYERS)
|
||||||
{
|
{
|
||||||
CONS_Printf("victim set to %d\n", voteVariable);
|
|
||||||
victim = &players[voteVariable];
|
victim = &players[voteVariable];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue