diff options
author | truelight <truelight@openttd.org> | 2004-12-24 00:13:32 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-24 00:13:32 +0000 |
commit | e6d83cdf3bd1628d93f2a8e915d7e48c451b30af (patch) | |
tree | 3ab890619e6a80274e9e32434031a04b7d60b18e | |
parent | 9cd50c54fad1d5d32228ec198116394e739371a4 (diff) | |
download | openttd-e6d83cdf3bd1628d93f2a8e915d7e48c451b30af.tar.xz |
(svn r1272) -Fix: game compiles again with network disabled
-rw-r--r-- | ttd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |