@@ -1522,6 +1522,8 @@ bool NetworkChangeCompanyPassword(byte a
return true;
}
/* Content downloading only is available with ZLIB */
#if defined(WITH_ZLIB)
#include "network/network_content.h"
/** Resolve a string to a content type. */
@@ -1630,7 +1632,7 @@ DEF_CONSOLE_CMD(ConContent)
return false;
#endif /* defined(WITH_ZLIB) */
#endif /* ENABLE_NETWORK */
DEF_CONSOLE_CMD(ConSetting)
@@ -1777,7 +1779,11 @@ void IConsoleStdLibRegister()
#ifdef ENABLE_NETWORK
/* Network hooks; only active in network */
IConsoleCmdHookAdd ("resetengines", ICONSOLE_HOOK_ACCESS, ConHookNoNetwork);
/* Content downloading is only available with ZLIB */
IConsoleCmdRegister("content", ConContent);
/*** Networking commands ***/
IConsoleCmdRegister("say", ConSay);
Status change: