mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix warning at client start
This commit is contained in:
parent
0ac9002a80
commit
5fd50e0b46
|
@ -2402,8 +2402,7 @@ void CClient::VersionUpdate()
|
||||||
|
|
||||||
void CClient::RegisterInterfaces()
|
void CClient::RegisterInterfaces()
|
||||||
{
|
{
|
||||||
for(int i = 0; i < RECORDER_MAX; i++)
|
Kernel()->RegisterInterface(static_cast<IDemoRecorder*>(&m_DemoRecorder[RECORDER_MANUAL]));
|
||||||
Kernel()->RegisterInterface(static_cast<IDemoRecorder*>(&m_DemoRecorder[i]));
|
|
||||||
Kernel()->RegisterInterface(static_cast<IDemoPlayer*>(&m_DemoPlayer));
|
Kernel()->RegisterInterface(static_cast<IDemoPlayer*>(&m_DemoPlayer));
|
||||||
Kernel()->RegisterInterface(static_cast<IServerBrowser*>(&m_ServerBrowser));
|
Kernel()->RegisterInterface(static_cast<IServerBrowser*>(&m_ServerBrowser));
|
||||||
#if !defined(CONF_PLATFORM_MACOSX) && !defined(__ANDROID__)
|
#if !defined(CONF_PLATFORM_MACOSX) && !defined(__ANDROID__)
|
||||||
|
|
Loading…
Reference in a new issue