From 5fd50e0b4601a73f2d4930c392830f9c9c6e1967 Mon Sep 17 00:00:00 2001 From: def Date: Mon, 27 Oct 2014 09:05:22 +0100 Subject: [PATCH] Fix warning at client start --- src/engine/client/client.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 94371672a..6bea32611 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -2402,8 +2402,7 @@ void CClient::VersionUpdate() void CClient::RegisterInterfaces() { - for(int i = 0; i < RECORDER_MAX; i++) - Kernel()->RegisterInterface(static_cast(&m_DemoRecorder[i])); + Kernel()->RegisterInterface(static_cast(&m_DemoRecorder[RECORDER_MANUAL])); Kernel()->RegisterInterface(static_cast(&m_DemoPlayer)); Kernel()->RegisterInterface(static_cast(&m_ServerBrowser)); #if !defined(CONF_PLATFORM_MACOSX) && !defined(__ANDROID__)