mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Remove unused variable
This commit is contained in:
parent
bdc14849f7
commit
5c2794fcea
|
@ -408,8 +408,6 @@ void CGameContext::SendVoteSet(int ClientID)
|
|||
|
||||
void CGameContext::SendVoteStatus(int ClientID, int Total, int Yes, int No)
|
||||
{
|
||||
CServer* pServ = (CServer*)Server();
|
||||
|
||||
if (Total > VANILLA_MAX_CLIENTS)
|
||||
{
|
||||
Yes = float(Yes) * VANILLA_MAX_CLIENTS / float(Total);
|
||||
|
|
Loading…
Reference in a new issue