summaryrefslogtreecommitdiff
path: root/newgrf_config.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-12-31 11:12:49 +0000
committerDarkvater <Darkvater@openttd.org>2006-12-31 11:12:49 +0000
commit4dfbbe62b6e3de6c862f2879eb8c775260967c8d (patch)
tree197e3184d3e8078b111cddf56b56b118b8bda186 /newgrf_config.h
parentc0ffe061bce16e43ba5c4d4f254c0807a7249dd2 (diff)
downloadopenttd-4dfbbe62b6e3de6c862f2879eb8c775260967c8d.tar.xz
(svn r7692) -Fix: OpenTTD didn't compile without network enabled (newgrf sync code)
Diffstat (limited to 'newgrf_config.h')
-rw-r--r--newgrf_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newgrf_config.h b/newgrf_config.h
index 37f5c6d86..6ebc3ffa2 100644
--- a/newgrf_config.h
+++ b/newgrf_config.h
@@ -55,8 +55,10 @@ char *GRFBuildParamList(char *dst, const GRFConfig *c, const char *last);
/* In newgrf_gui.c */
void ShowNewGRFSettings(bool editable, bool show_params, bool exec_changes, GRFConfig **config);
+#ifdef ENABLE_NETWORK
/* For communication about GRFs over the network */
#define UNKNOWN_GRF_NAME_PLACEHOLDER "<Unknown>"
char *FindUnknownGRFName(uint32 grfid, uint8 *md5sum, bool create);
+#endif /* ENABLE_NETWORK */
#endif /* NEWGRF_CONFIG_H */