summaryrefslogtreecommitdiff
path: root/console_cmds.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-09-17 11:33:19 +0000
committerDarkvater <darkvater@openttd.org>2006-09-17 11:33:19 +0000
commited7392ef5d7b84fe2e357b3aec1da24d0a7c1951 (patch)
tree1b53ce68912010001ac8da5eeadba8817f71d746 /console_cmds.c
parent7d1baa32bf8d8fdedd013d3937122208032542e1 (diff)
downloadopenttd-ed7392ef5d7b84fe2e357b3aec1da24d0a7c1951.tar.xz
(svn r6471) -Fix (r6450): ConPatch was moved from network-only, but the function was
still inside the ENABLE_NETWORK define. Thanks nycom.
Diffstat (limited to 'console_cmds.c')
-rw-r--r--console_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c
index 8a44054e3..37b7d92a6 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -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));
return true;
}
+#endif /* ENABLE_NETWORK */
DEF_CONSOLE_CMD(ConPatch)
{
@@ -1383,7 +1384,6 @@ DEF_CONSOLE_CMD(ConPatch)
return true;
}
-#endif /* ENABLE_NETWORK */
DEF_CONSOLE_CMD(ConListDumpVariables)
{