removed duplicate code. closes #2005

This commit is contained in:
oy 2019-02-03 17:30:29 +01:00
parent 57a73039c3
commit e5f2c4f91d
2 changed files with 0 additions and 17 deletions

View file

@ -13,20 +13,6 @@ CGameControllerLMS::CGameControllerLMS(CGameContext *pGameServer) : IGameControl
m_GameFlags = GAMEFLAG_SURVIVAL;
}
// event
int CGameControllerLMS::OnCharacterDeath(CCharacter *pVictim, CPlayer *pKiller, int Weapon)
{
// update spectator modes for dead players in survival
if(m_GameFlags&GAMEFLAG_SURVIVAL)
{
for(int i = 0; i < MAX_CLIENTS; ++i)
if(GameServer()->m_apPlayers[i] && GameServer()->m_apPlayers[i]->m_DeadSpecMode)
GameServer()->m_apPlayers[i]->UpdateDeadSpecMode();
}
return 0;
}
// game
void CGameControllerLMS::DoWincheckRound()
{

View file

@ -9,9 +9,6 @@ class CGameControllerLMS : public IGameController
public:
CGameControllerLMS(class CGameContext *pGameServer);
// event
virtual int OnCharacterDeath(class CCharacter *pVictim, class CPlayer *pKiller, int Weapon);
// game
virtual void DoWincheckRound();
};