diff options
author | rubidium <rubidium@openttd.org> | 2012-01-22 21:27:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2012-01-22 21:27:15 +0000 |
commit | b888027dddfd448a99116cfb82e3608c0c5ae7bd (patch) | |
tree | 6f69bda72d068d782a646cd52553a6a236eb494a | |
parent | 60a52404e3e4686da8604dbd3709a31830c6ce3f (diff) | |
download | openttd-b888027dddfd448a99116cfb82e3608c0c5ae7bd.tar.xz |
(svn r23843) -Fix: minor issue with replaying ;)
-rw-r--r-- | src/network/network_command.cpp | 2 | ||||
-rw-r--r-- | src/network/network_internal.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_command.cpp b/src/network/network_command.cpp index ef8a33804..41f853f15 100644 --- a/src/network/network_command.cpp +++ b/src/network/network_command.cpp @@ -264,7 +264,7 @@ static void DistributeQueue(CommandQueue *queue, const NetworkClientSocket *owne { #ifdef DEBUG_DUMP_COMMANDS /* When replaying we do not want this limitation. */ - int to_go = MAX_UINT16; + int to_go = UINT16_MAX; #else int to_go = _settings_client.network.commands_per_frame; #endif diff --git a/src/network/network_internal.h b/src/network/network_internal.h index 18d21c152..b024b7c02 100644 --- a/src/network/network_internal.h +++ b/src/network/network_internal.h @@ -44,7 +44,7 @@ * 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 + * 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. */ |