From e6d83cdf3bd1628d93f2a8e915d7e48c451b30af Mon Sep 17 00:00:00 2001 From: truelight Date: Fri, 24 Dec 2004 00:13:32 +0000 Subject: (svn r1272) -Fix: game compiles again with network disabled --- ttd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ttd.c b/ttd.c index 728b68565..dad32ce9d 100644 --- a/ttd.c +++ b/ttd.c @@ -1304,7 +1304,9 @@ void DebugProc(int i) 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: -- cgit v1.2.3-70-g09d2