Z Voting: Remove debug prints

This commit is contained in:
Sally Coolatta 2023-04-20 16:00:38 -04:00
parent 996ca9adad
commit 65d6877283

View file

@ -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];
} }
} }