summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-05-06 20:38:18 +0000
committerDarkvater <darkvater@openttd.org>2005-05-06 20:38:18 +0000
commit81474c262348ce5877d4f0d79bf15b1744b35260 (patch)
tree679be33cbf3843b3c5ddf01487a1bb53f39d7180 /ttd.c
parent18bc5ae77eda221c2cf697297085a73571a235d5 (diff)
downloadopenttd-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.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/ttd.c b/ttd.c
index 6d7ce950a..92470e6ec 100644
--- a/ttd.c
+++ b/ttd.c
@@ -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;
- }
-}