diff options
author | Darkvater <darkvater@openttd.org> | 2005-05-06 20:38:18 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-05-06 20:38:18 +0000 |
commit | 81474c262348ce5877d4f0d79bf15b1744b35260 (patch) | |
tree | 679be33cbf3843b3c5ddf01487a1bb53f39d7180 /ttd.c | |
parent | 18bc5ae77eda221c2cf697297085a73571a235d5 (diff) | |
download | openttd-81474c262348ce5877d4f0d79bf15b1744b35260.tar.xz |
(svn r2276) - CodeChange: remove DebugProc() and make the ALT+0...4 codes only available in debug mode
Diffstat (limited to 'ttd.c')
-rw-r--r-- | ttd.c | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -1413,22 +1413,3 @@ bool AfterLoadGame(uint version) return true; } - -void DebugProc(int i) -{ - switch(i) { - case 0: - *(byte*)0 = 0; - 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: - UpdateAllStationVirtCoord(); - break; - } -} |