(svn r1272) -Fix: game compiles again with network disabled
authortruelight
Fri, 24 Dec 2004 00:13:32 +0000
changeset 802 2bd6011b28e8
parent 801 7b6cb481359c
child 803 c4459c883fdf
(svn r1272) -Fix: game compiles again with network disabled
ttd.c
--- a/ttd.c	Fri Dec 24 00:00:10 2004 +0000
+++ b/ttd.c	Fri Dec 24 00:13:32 2004 +0000
@@ -1304,7 +1304,9 @@
 		break;
 	case 1:
 		/* Server can not cheat in advertise mode either! */
+#ifdef ENABLE_NETWORK
 		if (!_networking || !_network_server || !_network_advertise)
+#endif /* ENABLE_NETWORK */
 			DoCommandP(0, -10000000, 0, NULL, CMD_MONEY_CHEAT);
 		break;
 	case 2: