summaryrefslogtreecommitdiff
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
commitd9e9f367d9699a260a1263f0d16b992c7496ffe0 (patch)
tree1b53ce68912010001ac8da5eeadba8817f71d746
parente4d044871b03b3f77c17bbb59b9f940bcbc71fc2 (diff)
downloadopenttd-d9e9f367d9699a260a1263f0d16b992c7496ffe0.tar.xz
(svn r6471) -Fix (r6450): ConPatch was moved from network-only, but the function was
still inside the ENABLE_NETWORK define. Thanks nycom.
-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)
{