summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-01-17 21:13:02 +0000
committerrubidium <rubidium@openttd.org>2012-01-17 21:13:02 +0000
commita66debfaddb2b714d6620af2e902863391dd32ae (patch)
tree0184f3d49ca9d78c68772e8a52193f4891aac7ad /src/network
parentede8c86f778583e9dc5b1cb20aaa450eff0e6c6c (diff)
downloadopenttd-a66debfaddb2b714d6620af2e902863391dd32ae.tar.xz
(svn r23822) -Fix-ish: when replaying make sure companies get created even if their creating client doesn't exist during the replay
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/network_internal.h b/src/network/network_internal.h
index ccbb23b74..18d21c152 100644
--- a/src/network/network_internal.h
+++ b/src/network/network_internal.h
@@ -43,6 +43,10 @@
* 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.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.
*/
#ifdef DEBUG_DUMP_COMMANDS
extern bool _ddc_fastforward;