diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_func.h | 6 | ||||
-rw-r--r-- | src/network/network_internal.h | 5 |
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; |