1
0
Fork 0

(svn r1265) -Fix: the server can also no longer use the money cheat if the

advertise-mode is active
release/0.4.5
truelight 2004-12-23 21:58:01 +00:00
parent 6788a614d1
commit dda14faac5
1 changed files with 3 additions and 1 deletions

4
ttd.c
View File

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