newgrf_config.c
branchcustombridgeheads
changeset 5623 ef2a8a524a95
parent 5592 fd60d4ecc921
child 5642 bfa6074e2833
--- a/newgrf_config.c	Mon Jan 01 16:10:01 2007 +0000
+++ b/newgrf_config.c	Mon Jan 01 16:31:13 2007 +0000
@@ -328,6 +328,8 @@
 	return NULL;
 }
 
+#ifdef ENABLE_NETWORK
+
 /** Structure for UnknownGRFs; this is a lightweight variant of GRFConfig */
 typedef struct UnknownGRF UnknownGRF;
 struct UnknownGRF {
@@ -377,6 +379,8 @@
 	return grf->name;
 }
 
+#endif /* ENABLE_NETWORK */
+
 
 /* Retrieve a NewGRF from the current config by its grfid */
 GRFConfig *GetGRFConfig(uint32 grfid)