(svn r1272) -Fix: game compiles again with network disabled

This commit is contained in:
truelight 2004-12-24 00:13:32 +00:00
parent de597eb7d2
commit 4ec9356ba2

2
ttd.c
View File

@ -1304,7 +1304,9 @@ void DebugProc(int i)
break; break;
case 1: case 1:
/* Server can not cheat in advertise mode either! */ /* Server can not cheat in advertise mode either! */
#ifdef ENABLE_NETWORK
if (!_networking || !_network_server || !_network_advertise) if (!_networking || !_network_server || !_network_advertise)
#endif /* ENABLE_NETWORK */
DoCommandP(0, -10000000, 0, NULL, CMD_MONEY_CHEAT); DoCommandP(0, -10000000, 0, NULL, CMD_MONEY_CHEAT);
break; break;
case 2: case 2: