Remove unused DemoRecorder_IsRecording method

This commit is contained in:
Robert Müller 2022-08-25 17:03:13 +02:00
parent 8d3351f046
commit 5c2f162da2
3 changed files with 0 additions and 7 deletions

View file

@ -229,7 +229,6 @@ public:
virtual void ChangeMap(const char *pMap) = 0; virtual void ChangeMap(const char *pMap) = 0;
virtual void DemoRecorder_HandleAutoStart() = 0; virtual void DemoRecorder_HandleAutoStart() = 0;
virtual bool DemoRecorder_IsRecording() = 0;
// DDRace // DDRace

View file

@ -3252,11 +3252,6 @@ void CServer::DemoRecorder_HandleAutoStart()
} }
} }
bool CServer::DemoRecorder_IsRecording()
{
return m_aDemoRecorder[MAX_CLIENTS].IsRecording();
}
void CServer::SaveDemo(int ClientID, float Time) void CServer::SaveDemo(int ClientID, float Time)
{ {
if(IsRecording(ClientID)) if(IsRecording(ClientID))

View file

@ -287,7 +287,6 @@ public:
void Ban(int ClientID, int Seconds, const char *pReason) override; void Ban(int ClientID, int Seconds, const char *pReason) override;
void DemoRecorder_HandleAutoStart() override; void DemoRecorder_HandleAutoStart() override;
bool DemoRecorder_IsRecording() override;
//int Tick() //int Tick()
int64_t TickStartTime(int Tick); int64_t TickStartTime(int Tick);