diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index e32f77eb3..0e08beadf 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -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 diff --git a/src/engine/client/demoedit.h b/src/engine/client/demoedit.h index e6ec724f9..8838f73c4 100644 --- a/src/engine/client/demoedit.h +++ b/src/engine/client/demoedit.h @@ -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