| 234 | } |
| 235 | |
| 236 | bool VoteMenuHandler::IsClientInVotePool(int client) |
| 237 | { |
| 238 | if (client < 1 |
| 239 | || client > g_Players.MaxClients() |
| 240 | || m_pCurMenu == NULL) |
| 241 | { |
| 242 | return false; |
| 243 | } |
| 244 | |
| 245 | return (m_ClientVotes[client] > VOTE_NOT_VOTING); |
| 246 | } |
| 247 | |
| 248 | bool VoteMenuHandler::GetClientVoteChoice(int client, unsigned int *pItem) |
| 249 | { |
no test coverage detected