From 81474c262348ce5877d4f0d79bf15b1744b35260 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Fri, 6 May 2005 20:38:18 +0000 Subject: (svn r2276) - CodeChange: remove DebugProc() and make the ALT+0...4 codes only available in debug mode --- ttd.c | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'ttd.c') 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; - } -} -- cgit v1.2.3-54-g00ecf