PHP Code:
if(g_vote[0] == 0)
charCnt += formatex(voteStatus[charCnt], sizeof(voteStatus)-1-charCnt, "^n%s%i. \w%s%s", CLR_RED, choiceIdx+1, g_mapChoice[choiceIdx], voteTally);
else
charCnt += formatex(voteStatus[charCnt], sizeof(voteStatus)-1-charCnt, "^n%s%i. \d%s%s", CLR_RED, choiceIdx+1, g_mapChoice[choiceIdx], voteTally);
keys |= (1<<choiceIdx);
adding keys to the bitsum is not under the if/else statement, it's outside of it. Therefore it will always be set, the only thing that changes is the color \w to \d ( put it in the curly brackets together under the right condition )
__________________