summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2014-02-23 19:32:32 +0000
committerfrosch <frosch@openttd.org>2014-02-23 19:32:32 +0000
commitc6ce57e8a7529b970ef45eb7baa00560d6f4b16b (patch)
treea01633e9107c4f478c888691d2a0a17d87f7b352 /src
parente9f7103ad7326365c80ff558f24e4ecf91c8906c (diff)
downloadopenttd-c6ce57e8a7529b970ef45eb7baa00560d6f4b16b.tar.xz
(svn r26370) -Doc: Desync debugging and command replaying.
Diffstat (limited to 'src')
-rw-r--r--src/network/network_func.h6
-rw-r--r--src/network/network_internal.h5
2 files changed, 7 insertions, 4 deletions
diff --git a/src/network/network_func.h b/src/network/network_func.h
index 7ce8414f9..defa1cc70 100644
--- a/src/network/network_func.h
+++ b/src/network/network_func.h
@@ -12,6 +12,12 @@
#ifndef NETWORK_FUNC_H
#define NETWORK_FUNC_H
+/**
+ * Uncomment the following define to enable command replaying.
+ * See docs/desync.txt for details.
+ */
+// #define DEBUG_DUMP_COMMANDS
+
#include "core/address.h"
#include "network_type.h"
#include "../console_type.h"
diff --git a/src/network/network_internal.h b/src/network/network_internal.h
index 29d4fafd6..60862dd7f 100644
--- a/src/network/network_internal.h
+++ b/src/network/network_internal.h
@@ -43,10 +43,7 @@
* Used to load the desync debug logs, i.e. for reproducing a desync.
* There's basically no need to ever enable this, unless you really know what
* you are doing, i.e. debugging a desync.
- *
- * NOTE: Define DEBUG_DUMP_COMMANDS in network_func.h or globally, else it does not
- * have enough effects. For example CmdCompanyCtrl needs it to be able
- * to create companies when there are not clients on this server.
+ * See docs/desync.txt for details.
*/
#ifdef DEBUG_DUMP_COMMANDS
extern bool _ddc_fastforward;