This commit is contained in:
archimede67 2019-06-05 19:36:45 +02:00
parent 929bf57bf6
commit 65353c2030
2 changed files with 1 additions and 5 deletions

View file

@ -264,9 +264,8 @@ void CSmoothTime::Update(CGraph *pGraph, int64 Target, int TimeLeft, int AdjustD
CClient::CClient() : m_DemoPlayer(&m_SnapshotDelta)
{
for (int i = 0; i < RECORDER_MAX; i++) {
for (int i = 0; i < RECORDER_MAX; i++)
m_DemoRecorder[i] = CDemoRecorder(&m_SnapshotDelta);
}
m_pEditor = 0;
m_pInput = 0;
@ -3324,7 +3323,6 @@ void CClient::SaveReplay(const int Length)
if(!g_Config.m_ClReplays)
{
m_pConsole->Print(IConsole::OUTPUT_LEVEL_STANDARD, "replay", "Feature is disabled. Please enable it via configuration.");
char aBuf[64];
GameClient()->Echo(Localize("Replay feature is disabled!"));
}
else

View file

@ -1,5 +1,3 @@
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
/* If you are missing that file, acquire a complete release at teeworlds.com. */
#ifndef ENGINE_CLIENT_DEMOEDIT_H
#define ENGINE_CLIENT_DEMOEDIT_H