mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Remove useless code
This commit is contained in:
parent
64c29fd509
commit
582562ed1e
|
@ -469,7 +469,6 @@ void CPlayer::AfkVoteTimer(int NewTargetX, int NewTargetY)
|
|||
}
|
||||
else if(m_LastPlaytime < time_get()-time_freq()*g_Config.m_SvMaxAfkVoteTime)
|
||||
{
|
||||
CServer* serv = (CServer*)m_pGameServer->Server();
|
||||
m_Afk = true;
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
#include <string.h>
|
||||
#include <fstream>
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
#include <engine/shared/config.h>
|
||||
#include "../entities/character.h"
|
||||
|
|
Loading…
Reference in a new issue