forked from mirror/OpenTTD
(svn r6471) -Fix (r6450): ConPatch was moved from network-only, but the function was
still inside the ENABLE_NETWORK define. Thanks nycom.
This commit is contained in:
@@ -1358,6 +1358,7 @@ DEF_CONSOLE_CMD(ConProcServerIP)
|
|||||||
IConsolePrintF(_icolour_warn, "'server_ip' changed to: %s", inet_ntoa(*(struct in_addr *)&_network_server_bind_ip));
|
IConsolePrintF(_icolour_warn, "'server_ip' changed to: %s", inet_ntoa(*(struct in_addr *)&_network_server_bind_ip));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif /* ENABLE_NETWORK */
|
||||||
|
|
||||||
DEF_CONSOLE_CMD(ConPatch)
|
DEF_CONSOLE_CMD(ConPatch)
|
||||||
{
|
{
|
||||||
@@ -1383,7 +1384,6 @@ DEF_CONSOLE_CMD(ConPatch)
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
#endif /* ENABLE_NETWORK */
|
|
||||||
|
|
||||||
DEF_CONSOLE_CMD(ConListDumpVariables)
|
DEF_CONSOLE_CMD(ConListDumpVariables)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user